From 03e34ebc0efdd8c799e2aeb9a31e5c91708ed43e Mon Sep 17 00:00:00 2001 From: Daniel Holbach Date: Fri, 27 Jul 2007 10:43:48 +0200 Subject: [PATCH] fix get-branches issue found by seb128 --- get-branches | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-branches b/get-branches index d89b305..95ab7a3 100755 --- a/get-branches +++ b/get-branches @@ -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)