aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-02-10 08:41:50 +0100
committerGuido Günther <agx@sigxcpu.org>2012-02-10 08:41:50 +0100
commit3875d5d19afc47b25925f39f77daaafd366195a7 (patch)
tree0ab313b1ed63ef3d82de631149f3d6f67f28193e
parent44814b7c0891c69a1899188be086e2ca31de2a10 (diff)
gbp-pull: Use a DebianGitRepository
Closes: #59290
-rwxr-xr-xgbp/scripts/pull.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gbp/scripts/pull.py b/gbp/scripts/pull.py
index 5dc1b60..d50ffc2 100755
--- a/gbp/scripts/pull.py
+++ b/gbp/scripts/pull.py
@@ -24,7 +24,8 @@ import os, os.path
from gbp.command_wrappers import (Command, CommandExecFailed)
from gbp.config import (GbpOptionParser, GbpOptionGroup)
from gbp.errors import GbpError
-from gbp.git import (GitRepositoryError, GitRepository)
+from gbp.git import GitRepositoryError
+from gbp.deb.git import DebianGitRepository
import gbp.log
def fast_forward_branch(branch, repo, options):
@@ -91,7 +92,7 @@ def main(argv):
gbp.log.setup(options.color, options.verbose)
try:
- repo = GitRepository(os.path.curdir)
+ repo = DebianGitRepository(os.path.curdir)
except GitRepositoryError:
gbp.log.err("%s is not a git repository" % (os.path.abspath('.')))
return 1