Show More
@@ -491,7 +491,7 b' class svnsubrepo(abstractsubrepo):' | |||
|
491 | 491 | entries = doc.getElementsByTagName('entry') |
|
492 | 492 | if not entries: |
|
493 | 493 | return 0 |
|
494 |
return |
|
|
494 | return str(entries[0].getAttribute('revision')) or '0' | |
|
495 | 495 | |
|
496 | 496 | def _wcchanged(self): |
|
497 | 497 | """Return (changes, extchanges) where changes is True |
@@ -69,6 +69,18 b' add first svn sub with leading whitespac' | |||
|
69 | 69 | $ hg ci -m1 |
|
70 | 70 | committing subrepository s |
|
71 | 71 | |
|
72 | make sure we avoid empty commits (issue2445) | |
|
73 | ||
|
74 | $ hg sum | |
|
75 | parent: 1:* tip (glob) | |
|
76 | 1 | |
|
77 | branch: default | |
|
78 | commit: (clean) | |
|
79 | update: (current) | |
|
80 | $ hg ci -moops | |
|
81 | nothing changed | |
|
82 | [1] | |
|
83 | ||
|
72 | 84 | debugsub |
|
73 | 85 | |
|
74 | 86 | $ hg debugsub |
@@ -80,6 +92,12 b' change file in svn and hg, commit' | |||
|
80 | 92 | |
|
81 | 93 | $ echo a >> a |
|
82 | 94 | $ echo alpha >> s/alpha |
|
95 | $ hg sum | |
|
96 | parent: 1:* tip (glob) | |
|
97 | 1 | |
|
98 | branch: default | |
|
99 | commit: 1 modified, 1 subrepos | |
|
100 | update: (current) | |
|
83 | 101 | $ hg commit -m 'Message!' |
|
84 | 102 | committing subrepository s |
|
85 | 103 | Sending*s/alpha (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now