aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-02-25 18:14:49 +0100
committerGuido Günther <agx@sigxcpu.org>2009-02-26 13:48:24 +0100
commit4ddcd5c3d5693b03c10b773a0ddd371c15bd5e76 (patch)
tree3726d445b865aaceb6ed806be25d7e9c9bfaa5a8
parentd90de1e5f6110f4a650223bfda69a4aebb0aaefb (diff)
fix for remote repos containing '.'
-rwxr-xr-xexamples/gbp-posttag-push2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push
index df00c8f..c4feda9 100755
--- a/examples/gbp-posttag-push
+++ b/examples/gbp-posttag-push
@@ -37,7 +37,7 @@ def get_pushs(env):
continue
print '"%s"' % remote
repo, refspec = remote.split()
- repo = repo.split('.')[1] # remote.<repo>.push
+ repo = ".".join(repo.split('.')[1:-1]) # remote.<repo>.push
try:
remote = refspec.split(':')[1] # src:dest
except IndexError: