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:
parent
ca3d8ff4fc
commit
f1a6b14fdc
7 changed files with 99 additions and 39 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue