tests/test-issue1438.t
author Lucas Moscovicz <lmoscovicz@fb.com>
Mon, 10 Feb 2014 17:38:43 -0800
changeset 20521 1850a7f5fb66
parent 12328 b63f6422d2a7
child 22046 7a9cbb315d84
permissions -rw-r--r--
revset: changed spanset implementation to take hidden revisions into account Hidden revisions are now excluded from the spanset. Now this doesn't break for people using changeset evolution.

http://mercurial.selenic.com/bts/issue1438

  $ "$TESTDIR/hghave" symlink || exit 80

  $ hg init

  $ ln -s foo link
  $ hg add link
  $ hg ci -mbad link
  $ hg rm link
  $ hg ci -mok
  $ hg diff -g -r 0:1 > bad.patch

  $ hg up 0
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved

  $ hg import --no-commit bad.patch
  applying bad.patch

  $ hg status
  R link
  ? bad.patch