Commits

Ronny Pfannschmidt committed 016cfdb

basic scm update

  • Participants
  • Parent commits 41f71cf

Comments (0)

Files changed (2)

glas_process/scm.py

 
     def update_wd(self):
         "update to target branch/rev"
+        self.wd.update(revision=getattr(self.step, 'revision', None))
 
     def maybe_create_mq(self):
         "create a hg patch queue for the given patches"

testing/test_scmprocdir.py

     assert procdir.path.check()
     p.create_or_pull()
 
+
+    p.update_wd()
+