sapling/eden/scm/tests/test-commit-amend-reuse-rawfctx.t
Jun Wu aed62002d1 commit: remove revnum from commitstatus
Summary: Do not show revnum or "changeset" after commit (with --debug or --vrebose).

Reviewed By: singhsrb

Differential Revision: D24201942

fbshipit-source-id: 2f0d15711df67070e50d4bf30f0b1b4401d85524
2020-10-08 22:33:07 -07:00

39 lines
837 B
Perl

#chg-compatible
$ configure mutation-norecord
File node could be reused during commit --amend
$ newrepo
$ echo 1 > a
$ echo 2 > b
$ hg commit -m 12 -A a b
$ echo 3 >> a
$ hg commit -m 3
$ hg commit --debug --amend -m 'without content change'
amending changeset 0bd823dca296
copying changeset 0bd823dca296 to dd3d87f356df
committing files:
a
reusing a filelog node (exact match)
committing manifest
committing changelog
committed 92bc7a9d76f010337ece134e095054c094d44760
#if execbit
File node is reused for mode-only change
$ chmod +x b
$ hg ci --debug --amend -m 'without content change'
amending changeset 92bc7a9d76f0
committing files:
a
reusing a filelog node (exact match)
b
committing manifest
committing changelog
committed ba954a28eb454eb63e7348349f8e87e7b1be3601
#endif