mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
fix get-branches issue found by seb128
This commit is contained in:
parent
477a2b16dd
commit
03e34ebc0e
@ -15,7 +15,7 @@ def main():
|
||||
print >> sys.stderr, usage
|
||||
sys.exit(1)
|
||||
|
||||
directory = os.path.expanduser(sys.argv[1])
|
||||
directory = os.path.abspath(os.path.expanduser(sys.argv[1]))
|
||||
team = sys.argv[2]
|
||||
operation_type = "branch"
|
||||
if len(sys.argv) == 4:
|
||||
@ -57,7 +57,7 @@ def main():
|
||||
else:
|
||||
os.chdir(branch_nick)
|
||||
os.system("bzr merge --pull --remember")
|
||||
os.chdir(directory)
|
||||
os.chdir(os.path.join(directory, team))
|
||||
|
||||
os.chdir(pwd)
|
||||
sys.exit(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user