1
0
Fork 0

sync: Support upgrading manifest formats

If the manifest format changes during init or sync we need to do
a full reparse of the manifest, and possibly allow the new object
to reconfigure the local workspace to match its expectations.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2009-07-03 16:37:30 -07:00
parent 5f947bba69
commit 87bda12e85
3 changed files with 22 additions and 1 deletions

View file

@ -15,6 +15,7 @@
import os
from error import ManifestParseError
from editor import Editor
from git_config import GitConfig
from project import MetaProject
@ -45,3 +46,6 @@ class Manifest(object):
def SetMRefs(self, project):
pass
def Upgrade_Local(self, old):
raise ManifestParseError, 'unsupported upgrade path'