summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-06-03 16:01:11 -0700
committerShawn O. Pearce <sop@google.com>2009-07-03 11:00:16 -0700
commitf1a6b14fdc5402f9ed765a8a342d9c07c5b91e2d (patch)
treef67b0e4fdb68bf3466202a27d5a0732edf424812 /subcmds
parentca3d8ff4fc7bac11a747e4f32a81b42a01f4f297 (diff)
downloadgit-repo-f1a6b14fdc5402f9ed765a8a342d9c07c5b91e2d.tar.gz
Create an abstract Manifest base class
This will help as we add support for another manifest type. Signed-off-by: Shawn O. Pearce <sop@google.com>
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: