Mercurial > public > mercurial-scm > hg-stable
diff tests/test-subrepo.t @ 15231:cd6f10dccf16
cmdutil.bailifchanged: abort for dirty subrepos
author | Eric Roshan Eisner <ede@alum.mit.edu> |
---|---|
date | Tue, 11 Oct 2011 18:18:15 -0700 |
parents | 52cbeb5a651b |
children | 460135339d74 |
line wrap: on
line diff
--- a/tests/test-subrepo.t Tue Oct 11 21:10:03 2011 -0400 +++ b/tests/test-subrepo.t Tue Oct 11 18:18:15 2011 -0700 @@ -52,6 +52,14 @@ commit: (clean) update: (current) +commands that require a clean repo should respect subrepos + + $ echo b >> s/a + $ hg backout tip + abort: uncommitted changes in subrepo s + [255] + $ hg revert -C -R s s/a + add sub sub $ echo ss = ss > s/.hgsub