projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0117f
)
False-match avoidance suggested by birkenfeld.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 3 Oct 2012 06:34:29 +0000
(
02:34
-0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 3 Oct 2012 06:34:29 +0000
(
02:34
-0400)
irkerhook.py
patch
|
blob
|
history
diff --git
a/irkerhook.py
b/irkerhook.py
index 244b65c68727428341e27941ae18cc0dcf6944da..53d5e0954d0f46a2936ddcc2a331085643352447 100755
(executable)
--- a/
irkerhook.py
+++ b/
irkerhook.py
@@
-351,7
+351,10
@@
def hg_hook(ui, repo, _hooktype, node=None, _url=None, **_kwds):
extractor = HgExtractor([(ui, repo)])
ship(extractor, node, False)
-extractors = [GitExtractor, SvnExtractor, HgExtractor]
+# The files we use to identify a Subversion repo might occur as content
+# in a git or hg repo, but the special subdirectories for those are more
+# reliable indicators. So test for Subversion last.
+extractors = [GitExtractor, HgExtractor, SvnExtractor]
# VCS-dependent code ends here