Mercurial > bitten > bitten-test
changeset 731:9b5630fdd35e
Use the hash and not the sequence number when updating local Mercurial repository. The hash is guaranteed to refer to the same changeset, whereas the sequence number may differ if local repository contains other changes. Closes #528.
author | osimons |
---|---|
date | Thu, 11 Feb 2010 17:36:10 +0000 |
parents | a3197bba9c21 |
children | 59e67e5df620 |
files | bitten/build/hgtools.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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(':')[0]] + args += ['-r', revision.split(':')[1]] from bitten.build import shtools returncode = shtools.execute(ctxt, file_='hg', args=args, dir_=dir_)