diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-05-25 23:38:46 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-05-25 23:38:46 +0200 |
commit | e6dd31e3cacb03a767d831c87f465b576425c101 (patch) | |
tree | c22c7acd22f59318a9381d21d12e41354d33ada5 /git-import-dsc | |
parent | b8f3238f3b65cf353433d2f94637c815ab6359ef (diff) |
Help pristine-tar to find the branch name
Closes: #481806
Diffstat (limited to 'git-import-dsc')
-rwxr-xr-x | git-import-dsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-import-dsc b/git-import-dsc index c8e34a5d..aece7f9c 100755 --- a/git-import-dsc +++ b/git-import-dsc @@ -47,7 +47,7 @@ def import_initial(src, dirs, options): gbpc.GitBranch()(options.upstream_branch) if options.pristine_tar: gbpc.PristineTar().commit(os.path.join(dirs['top'], src.tgz), - options.upstream_branch) + 'refs/heads/%s' % options.upstream_branch) except gbpc.CommandExecFailed: print >>sys.stderr, "Creation of git repository failed" return False |