Only tag submodules if allow_backtracking is False.
authorEvan Broder <broder@mit.edu>
Sat, 2 Jan 2010 00:55:44 +0000 (19:55 -0500)
committerEvan Broder <broder@mit.edu>
Sat, 2 Jan 2010 00:55:44 +0000 (19:55 -0500)
svn path=/trunk/packages/invirt-dev/; revision=2837

invirtibuilder

index 15b4e05..633563c 100755 (executable)
@@ -137,7 +137,7 @@ def tagSubmodule(pocket, package, ref, principal):
     I'm sure that long description gives you great confidence in the
     legitimacy of my reasoning.
     """
     I'm sure that long description gives you great confidence in the
     legitimacy of my reasoning.
     """
-    if config.build.pockets[pocket].get('allow_backtracking', False):
+    if not config.build.pockets[pocket].get('allow_backtracking', False):
         env = dict(os.environ)
         branch = b.pocketToGit(pocket)
         version = b.getVersion(package, ref)
         env = dict(os.environ)
         branch = b.pocketToGit(pocket)
         version = b.getVersion(package, ref)