[Pkg-xen-changes] r552 - trunk/xen-3/debian/bin

Bastian Blank waldi at alioth.debian.org
Mon May 12 11:35:38 UTC 2008


Author: waldi
Date: Mon May 12 11:35:37 2008
New Revision: 552

Log:
debian/bin/genorig.py: Support tag parameter.


Modified:
   trunk/xen-3/debian/bin/genorig.py

Modified: trunk/xen-3/debian/bin/genorig.py
==============================================================================
--- trunk/xen-3/debian/bin/genorig.py	(original)
+++ trunk/xen-3/debian/bin/genorig.py	Mon May 12 11:35:37 2008
@@ -35,7 +35,9 @@
     def do_update(self):
         if self.tag is None:
             return
-        raise NotImplementedError
+        f = os.popen("cd %s; hg update -r %s" % (self.repo, self.tag))
+        if f.close() is not None:
+            raise RuntimeError
 
     def do_version(self):
         if self.version is not None:



More information about the Pkg-xen-changes mailing list