Bug 481835 - "client.py should use hg pull without -r tip argument" [r=Callek]
--- 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