git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c8aca89
)
fix pathname for svn modules
author
Baris Metin
<bmetin@verivue.com>
Tue, 23 Aug 2011 18:52:44 +0000
(14:52 -0400)
committer
Baris Metin
<bmetin@verivue.com>
Tue, 23 Aug 2011 18:52:44 +0000
(14:52 -0400)
module-tools.py
patch
|
blob
|
history
diff --git
a/module-tools.py
b/module-tools.py
index
5bbf74b
..
8c19d8d
100755
(executable)
--- a/
module-tools.py
+++ b/
module-tools.py
@@
-163,6
+163,11
@@
class SvnRepository:
def name(self):
return os.path.basename(self.path)
+ def pathname(self):
+ # for svn modules pathname is just the name of the module as
+ # all modules are at the root
+ return self.name()
+
def url(self):
out = Command("svn info %s" % self.path, self.options).output_of()
for line in out.split('\n'):