projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c44eb7
)
fix error message
author
Guido Guenther
<agx@sigxcpu.org>
Wed, 23 Apr 2008 13:40:53 +0000
(15:40 +0200)
committer
Guido Guenther
<agx@sigxcpu.org>
Wed, 23 Apr 2008 13:40:53 +0000
(15:40 +0200)
when we can't find any valid revisions
gbp/git_utils.py
patch
|
blob
|
history
diff --git
a/gbp/git_utils.py
b/gbp/git_utils.py
index bbbc96f58364995c73cfe739c3b9a78d7fcb43c3..15136c2cc30f04163d3ad244202cf8af0b77b32b 100644
(file)
--- a/
gbp/git_utils.py
+++ b/
gbp/git_utils.py
@@
-100,7
+100,7
@@
class GitRepository(object):
options, '%s..%s' % (start, end),
'--', paths])
if ret:
- raise GitRepositoryError, "Error gettin
t commits %s..%s on %s" % (start, end, paths
)
+ raise GitRepositoryError, "Error gettin
g commits %s..%s%s" % (start, end, ["", " on %s" % paths][len(paths) > 0]
)
return [ commit.strip() for commit in commits ]
def show(self, id):