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
(parent:
e26d250
)
add Repository.has_moved_to_git check
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 14 Jun 2010 14:18:45 +0000
(16:18 +0200)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Mon, 14 Jun 2010 14:18:45 +0000
(16:18 +0200)
module-tools.py
patch
|
blob
|
history
diff --git
a/module-tools.py
b/module-tools.py
index
ce2f90b
..
ac4deb6
100755
(executable)
--- a/
module-tools.py
+++ b/
module-tools.py
@@
-232,6
+232,10
@@
class Repository:
if self.repo.is_valid():
break
+ @classmethod
+ def has_moved_to_git(cls, remote):
+ return SvnRepository.remote_exists("%s/aaaa-has-moved-to-git")
+
@classmethod
def remote_exists(cls, remote):
for repo in Repository.supported_repo_types: