Bug 481835 - "client.py should use hg pull without -r tip argument" [r=Callek]
authorMark Banner <bugzilla@standard8.plus.com>
Sat, 18 Jul 2009 19:44:35 +0100
changeset 3080 e9c696610b61430291379e3ad3d3abc0efda6b8f
parent 3079 f250787e135020964b6ee9a516505cead1410a24
child 3081 0c8752d8fd17affafaf1fcd2c5e3a6f0124f1f36
push idunknown
push userunknown
push dateunknown
reviewersCallek
bugs481835
Bug 481835 - "client.py should use hg pull without -r tip argument" [r=Callek]
client.py
--- a/client.py
+++ b/client.py
@@ -171,17 +171,17 @@ def do_hg_pull(dir, repository, hg, rev)
     # clone if the dir doesn't exist, pull if it does
     hgopts = []
     if options.hgopts:
         hgopts = options.hgopts.split()
     if not os.path.exists(fulldir):
         fulldir = os.path.join(topsrcdir, dir)
         check_call_noisy([hg, 'clone'] + hgopts + [repository, fulldir])
     else:
-        cmd = [hg, 'pull', '-R', fulldir, '-r', 'tip' ] + hgopts
+        cmd = [hg, 'pull', '-R', fulldir] + hgopts
         if repository is not None:
             cmd.append(repository)
         check_call_noisy(cmd)
     # update to specific revision
     if options.verbose:
         cmd = [hg, 'update', '-v', '-r', rev, '-R', fulldir ] + hgopts
     else:
         cmd = [hg, 'update', '-r', rev, '-R', fulldir ] + hgopts