mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Hide the internal sync --repo-upgraded flag from users
This is only meant to be passed through while repo upgrades itself during a sync. It should never be something a user invokes on their own. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
0a389e94de
commit
2a1ccb2b0c
@ -13,6 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
from optparse import SUPPRESS_HELP
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import subprocess
|
import subprocess
|
||||||
@ -51,7 +52,7 @@ the manifest.
|
|||||||
help='do not verify repo source code')
|
help='do not verify repo source code')
|
||||||
p.add_option('--repo-upgraded',
|
p.add_option('--repo-upgraded',
|
||||||
dest='repo_upgraded', action='store_true',
|
dest='repo_upgraded', action='store_true',
|
||||||
help='perform additional actions after a repo upgrade')
|
help=SUPPRESS_HELP)
|
||||||
|
|
||||||
def _Fetch(self, *projects):
|
def _Fetch(self, *projects):
|
||||||
fetched = set()
|
fetched = set()
|
||||||
|
Loading…
Reference in New Issue
Block a user