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>
This commit is contained in:
Shawn O. Pearce
2009-06-03 16:01:11 -07:00
parent ca3d8ff4fc
commit f1a6b14fdc
7 changed files with 99 additions and 39 deletions

View File

@@ -163,6 +163,7 @@ See 'repo help --all' for a complete list of recognized commands.
print >>sys.stderr, "repo: '%s' is not a repo command." % name
sys.exit(1)
cmd.repodir = self.repodir
self._PrintCommandHelp(cmd)
else:

View File

@@ -214,7 +214,7 @@ uncommitted changes are present' % project.relpath
if not syncbuf.Finish():
sys.exit(1)
self.manifest._Unload()
self.GetManifest(reparse=True)
all = self.GetProjects(args, missing_ok=True)
missing = []
for project in all: