[ARVADOS] updated: b056c28bcb5090bed22d78b84ac9a688dee27577

git at public.curoverse.com git at public.curoverse.com
Mon Sep 15 10:11:16 EDT 2014


Summary of changes:
 sdk/python/arvados/commands/copy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  b056c28bcb5090bed22d78b84ac9a688dee27577 (commit)
      from  ee52a6f8505cc86e01a5488f8bbb954a676fb5fa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b056c28bcb5090bed22d78b84ac9a688dee27577
Author: Tim Pierce <twp at curoverse.com>
Date:   Mon Sep 15 10:10:45 2014 -0400

    3699: fix copy_git_repo
    
    Need to specify destination branch explicitly when pushing.

diff --git a/sdk/python/arvados/commands/copy.py b/sdk/python/arvados/commands/copy.py
index ca738a4..ae8f21b 100755
--- a/sdk/python/arvados/commands/copy.py
+++ b/sdk/python/arvados/commands/copy.py
@@ -334,7 +334,7 @@ def copy_git_repo(src_git_repo, dst_git_repo, dst_branch, src=None, dst=None):
         ["git", "checkout", "-B", dst_branch],
         cwd=tmprepo)
     arvados.util.run_command(["git", "remote", "add", "dst", dst_git_push_url], cwd=tmprepo)
-    arvados.util.run_command(["git", "push", "dst"], cwd=tmprepo)
+    arvados.util.run_command(["git", "push", "dst", dst_branch], cwd=tmprepo)
 
 # uuid_type(api, object_uuid)
 #

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list