tests/test-issue1089.t
author Sean Farley <sean.michael.farley@gmail.com>
Sun, 09 Nov 2014 13:15:28 -0800
changeset 23260 565f97e71ce3
parent 16913 f2719b387380
child 26420 2fc86d92c4a9
permissions -rw-r--r--
sortdict: add iteritems method Future patches will start using sortdict for log operations where order is important. Adding iteritems removes the headache of having to remember to use items() if the object is a sortdict.

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 ..