Mercurial > bitten > bitten-test
diff bitten/build/hgtools.py @ 885:f703a0bf6548
Fix `hg:pull` compat with Trac 0.12 as that changes how Mercurial revisions numbers are used.
Closes #638. Thanks to krigstask for report and patch.
author | osimons |
---|---|
date | Fri, 10 Dec 2010 09:33:37 +0000 |
parents | 9b5630fdd35e |
children |
line wrap: on
line diff
--- a/bitten/build/hgtools.py +++ b/bitten/build/hgtools.py @@ -18,7 +18,7 @@ """ args = ['pull', '-u'] if revision: - args += ['-r', revision.split(':')[1]] + args += ['-r', revision.split(':')[-1]] from bitten.build import shtools returncode = shtools.execute(ctxt, file_='hg', args=args, dir_=dir_)