tests/test-issue1089.t
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Fri, 08 Nov 2013 12:45:52 +0900
changeset 20024 059b695150c2
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
bookmarks: add function to centralize the logic to compare bookmarks This patch adds "compare()" function to centralize the logic to compare bookmarks between two repositories.

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

  $ hg init
  $ mkdir a
  $ echo a > a/b
  $ hg ci -Am m
  adding a/b

  $ hg rm a
  removing a/b (glob)
  $ hg ci -m m a

  $ mkdir a b
  $ echo a > a/b
  $ hg ci -Am m
  adding a/b

  $ hg rm a
  removing a/b (glob)
  $ cd b

Relative delete:

  $ hg ci -m m ../a

  $ cd ..