aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp-clone
diff options
context:
space:
mode:
authorPeter Eisentraut <petere@debian.org>2011-04-19 14:28:24 +0300
committerGuido Günther <agx@sigxcpu.org>2011-04-22 20:51:19 +0200
commite5dd44404bbfd638076a22630f36490b6b7e9078 (patch)
treef29db29a5d9bfac6e52f4d5025d47e4d4ade21f9 /gbp-clone
parent3e1fd70a71f38f724a9e9937f6e6ff4ac80cabc7 (diff)
gbp-clone: check out the debian branch after the clone is complete
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'gbp-clone')
-rwxr-xr-xgbp-clone2
1 files changed, 2 insertions, 0 deletions
diff --git a/gbp-clone b/gbp-clone
index 8d4da794..94e2d463 100755
--- a/gbp-clone
+++ b/gbp-clone
@@ -101,6 +101,8 @@ def main(argv):
not repo.has_branch(branch):
GitBranch()(branch, remote)
+ repo.set_branch(options.debian_branch)
+
except CommandExecFailed:
retval = 1
except GbpError, err: