tests/test-issue1438.t
author Raphaël Gomès <rgomes@octobus.net>
Thu, 21 Mar 2024 12:24:36 +0100
branchstable
changeset 51513 c40da123a530
parent 49621 55c6ebd11cb9
permissions -rw-r--r--
Added tag 6.7.1 for changeset 2e6fde2ed01e

#require symlink

https://bz.mercurial-scm.org/1438

  $ hg init repo
  $ cd repo

  $ 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