From 87bda12e85ffb98778d7ac881edb0210b74c0491 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Fri, 3 Jul 2009 16:37:30 -0700 Subject: 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 --- manifest.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifest.py') diff --git a/manifest.py b/manifest.py index a2fc9601..f737e866 100644 --- a/manifest.py +++ b/manifest.py @@ -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' -- cgit v1.2.3-54-g00ecf