Mercurial > public > mercurial-scm > hg
diff tests/test-keyword.t @ 24235:79fceed67676
record: allow editing new files (issue4304)
While using the record extension to select changes, the user couldn't see the
content of newly added files and had to select/reject them based on filename.
The test is changed accordingly in two places.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Fri, 06 Mar 2015 15:57:43 -0800 |
parents | a387b0390082 |
children | edf907bd8144 |
line wrap: on
line diff
--- a/tests/test-keyword.t Thu Mar 05 14:42:25 2015 -0800 +++ b/tests/test-keyword.t Fri Mar 06 15:57:43 2015 -0800 @@ -473,18 +473,24 @@ $ hg -v record -l msg -d '12 2' r<<EOF > y + > y > EOF diff --git a/r b/r new file mode 100644 examine changes to 'r'? [Ynesfdaq?] y + @@ -0,0 +1,1 @@ + +$Id$ + record this change to 'r'? [Ynesfdaq?] y + + resolving manifests + patching file r committing files: r committing manifest committing changelog committed changeset 3:82a2f715724d overwriting r expanding keywords - - status call required for dirstate.normallookup() check $ hg status r $ hg --verbose rollback repository tip rolled back to revision 2 (undo commit) @@ -501,11 +507,18 @@ $ hg add i $ hg --verbose record -d '13 1' -m recignored<<EOF > y + > y > EOF diff --git a/i b/i new file mode 100644 examine changes to 'i'? [Ynesfdaq?] y + @@ -0,0 +1,1 @@ + +$Id$ + record this change to 'i'? [Ynesfdaq?] y + + resolving manifests + patching file i committing files: i committing manifest