Skip to content
Snippets Groups Projects
Commit a41e0f1c authored by Matt Harbison's avatar Matt Harbison
Browse files

test-commit: stabilize for filesystems without symlink support

parent 5b286cfe
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,7 @@
$ hg commit -m commit-15 baz
abort: baz: file not tracked!
[255]
$ rm baz
#endif
$ touch quux
......@@ -129,5 +130,4 @@
$ echo "[extensions]" >> $HGRCPATH
$ echo "commitextras=" >> $HGRCPATH
$ hg status
? baz
? quux
......@@ -133,7 +133,10 @@
? quux
$ hg add baz
$ hg add quux
$ hg commit -m "adding internal used extras" --extra amend_source=hash
abort: key 'amend_source' is used internally, can't be set manually
[255]
$ hg commit -m "adding extras" --extra sourcehash=foo --extra oldhash=bar
$ hg log -r . -T '{extras % "{extra}\n"}'
branch=default
oldhash=bar
sourcehash=foo
......@@ -135,12 +138,8 @@
$ hg commit -m "adding extras" --extra sourcehash=foo --extra oldhash=bar
$ hg log -r . -T '{extras % "{extra}\n"}'
branch=default
oldhash=bar
sourcehash=foo
$ hg add quux
$ hg commit -m "adding internal used extras" --extra amend_source=hash
abort: key 'amend_source' is used internally, can't be set manually
[255]
Make sure we do not obscure unknown requires file entries (issue2649)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment