aboutsummaryrefslogtreecommitdiff
path: root/gbp-clone
diff options
context:
space:
mode:
Diffstat (limited to 'gbp-clone')
-rwxr-xr-xgbp-clone6
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp-clone b/gbp-clone
index 552108c..73cfabf 100755
--- a/gbp-clone
+++ b/gbp-clone
@@ -24,13 +24,13 @@ import sys
import os, os.path
from gbp.config import (GbpOptionParser, GbpOptionGroup)
from gbp.git import (GitRepositoryError, GitRepository)
-from gbp.command_wrappers import (GitClone, Command, CommandExecFailed, GitBranch)
+from gbp.command_wrappers import (GitClone, Command, CommandExecFailed,
+ GitBranch, PristineTar)
from gbp.errors import GbpError
def main(argv):
retval = 0
- pristine_tar_branch = 'pristine-tar'
parser = GbpOptionParser(command=os.path.basename(argv[0]), prefix='',
usage='%prog [options] repository - clone a remote repository')
@@ -73,7 +73,7 @@ def main(argv):
repo = GitRepository(os.path.curdir)
if options.pristine_tar:
- branches += [ pristine_tar_branch ]
+ branches += [ PristineTar.branch ]
for branch in branches:
remote = 'origin/%s' % branch