From 4ddcd5c3d5693b03c10b773a0ddd371c15bd5e76 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 25 Feb 2009 18:14:49 +0100 Subject: fix for remote repos containing '.' --- examples/gbp-posttag-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..push + repo = ".".join(repo.split('.')[1:-1]) # remote..push try: remote = refspec.split(':')[1] # src:dest except IndexError: -- cgit v1.2.3