summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/help.py1
-rw-r--r--subcmds/sync.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/help.py b/subcmds/help.py
index c5979fd6..01d5fa23 100644
--- a/subcmds/help.py
+++ b/subcmds/help.py
@@ -163,6 +163,7 @@ See 'repo help --all' for a complete list of recognized commands.
163 print >>sys.stderr, "repo: '%s' is not a repo command." % name 163 print >>sys.stderr, "repo: '%s' is not a repo command." % name
164 sys.exit(1) 164 sys.exit(1)
165 165
166 cmd.repodir = self.repodir
166 self._PrintCommandHelp(cmd) 167 self._PrintCommandHelp(cmd)
167 168
168 else: 169 else:
diff --git a/subcmds/sync.py b/subcmds/sync.py
index bd07dd9f..afd44dab 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -214,7 +214,7 @@ uncommitted changes are present' % project.relpath
214 if not syncbuf.Finish(): 214 if not syncbuf.Finish():
215 sys.exit(1) 215 sys.exit(1)
216 216
217 self.manifest._Unload() 217 self.GetManifest(reparse=True)
218 all = self.GetProjects(args, missing_ok=True) 218 all = self.GetProjects(args, missing_ok=True)
219 missing = [] 219 missing = []
220 for project in all: 220 for project in all: