changeset 20:bc17ab3c516e

notes
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 24 Jun 2013 11:28:58 -0700
parents 8ec5895e9229
children aad5083f1117
files hq/main.py
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hq/main.py	Mon May 20 11:51:54 2013 -0700
+++ b/hq/main.py	Mon Jun 24 11:28:58 2013 -0700
@@ -40,9 +40,18 @@
     def clone(self, repo, patch=None, queue=None):
         """
         clone the repository and begin a patch queue
-        - path: name of a new patch to initiate
+        - patch: name of a new patch to initiate
         - queue: name of the remote queue
         """
+
+        ### TODO: initialize queue properly
+        # hg qinit -c
+        # cd `hg root`/
+        # rm -rf patches
+        # hg clone ${queue} patches
+        # cd patches
+        # (fix hgrc)
+
         directory = repo.rsplit('/', 1)
         call(['hg', 'clone', repo, directory])
         os.chdir(directory)