Updated darcs put command for darcs >= 2.2.0, following Chris' report
authorW. Trevor King <wking@drexel.edu>
Thu, 2 Jul 2009 02:21:52 +0000 (22:21 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 2 Jul 2009 02:21:52 +0000 (22:21 -0400)
libbe/darcs.py

index 0dd4b37c33b0e15381edc76694e2025557f5c9ab..43af99a68a6c0c1850d9993849cc525cd09f2418 100644 (file)
@@ -130,8 +130,7 @@ class Darcs(RCS):
         if revision==None:
             RCS._rcs_duplicate_repo(self, directory, revision)
         else:
-            self._u_invoke_client("put", "--no-pristine-tree",
-                                  "--to-patch", revision, directory)
+            self._u_invoke_client("put", "--to-patch", revision, directory)
     def _rcs_commit(self, commitfile):
         id = self.get_user_id()
         if '@' not in id: