Show More
@@ -827,10 +827,9 b' class localrepository(repo.repository):' | |||||
827 | if match(s) and wctx.sub(s).dirty(): |
|
827 | if match(s) and wctx.sub(s).dirty(): | |
828 | subs.append(s) |
|
828 | subs.append(s) | |
829 | if (subs or removedsubs): |
|
829 | if (subs or removedsubs): | |
830 | # is hgsub modified and not included? |
|
|||
831 | if (not match('.hgsub') and |
|
830 | if (not match('.hgsub') and | |
832 | '.hgsub' in (wctx.modified() + wctx.added())): |
|
831 | '.hgsub' in (wctx.modified() + wctx.added())): | |
833 | raise util.Abort("can't commit subrepos without .hgsub") |
|
832 | raise util.Abort(_("can't commit subrepos without .hgsub")) | |
834 | if '.hgsubstate' not in changes[0]: |
|
833 | if '.hgsubstate' not in changes[0]: | |
835 | changes[0].insert(0, '.hgsubstate') |
|
834 | changes[0].insert(0, '.hgsubstate') | |
836 |
|
835 |
General Comments 0
You need to be logged in to leave comments.
Login now