aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-03-18 17:15:13 +0100
committerGuido Günther <agx@sigxcpu.org>2012-03-18 17:15:13 +0100
commit8fd616208e564417723d2f990af295ae62c30ce6 (patch)
tree09006597b7c5e8e02d37a27e05e3758917212cfd
parent1ebd7da7aa96290981fcd7613afdc9f359123c3f (diff)
gbp-create-remote-repo: Use DebianGitRepository
Closes: #664283
-rw-r--r--gbp/scripts/create_remote_repo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py
index d6174e3..7f2967b 100644
--- a/gbp/scripts/create_remote_repo.py
+++ b/gbp/scripts/create_remote_repo.py
@@ -30,7 +30,8 @@ from gbp.deb.changelog import ChangeLog, NoChangeLogError
from gbp.command_wrappers import (CommandExecFailed, GitCommand)
from gbp.config import (GbpOptionParserDebian, 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 print_config(remote, branches):
@@ -165,7 +166,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