Mercurial > bitten > bitten-test
changeset 729:6b3de00356d1
Changed how `hg:pull` works with disk location - repository directory can't be an argument, instead we need to change the working directory. Closes #530.
author | osimons |
---|---|
date | Thu, 11 Feb 2010 17:18:15 +0000 |
parents | 1701dda85af3 |
children | a3197bba9c21 |
files | bitten/build/hgtools.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/build/hgtools.py +++ b/bitten/build/hgtools.py @@ -19,10 +19,9 @@ args = ['pull', '-u'] if revision: args += ['-r', revision.split(':')[0]] - args += [dir_] from bitten.build import shtools - returncode = shtools.execute(ctxt, file_='hg', args=args) + returncode = shtools.execute(ctxt, file_='hg', args=args, dir_=dir_) if returncode != 0: ctxt.error('hg pull -u failed (%s)' % returncode)