Mercurial > hg
view tests/test-extra-filelog-entry @ 5810:124577de40a7
context: preserve changeset in filectx if we have one
If we know original changeset we are working with - try hard to
preserve it. Fallback to filelog.linkrev() only if we have no way
to get original changeset, since linkrev() may point to other
changeset.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 29 Dec 2007 16:57:43 +0300 |
parents | b51a8138292a |
children |
line wrap: on
line source
#!/bin/sh # # test for issue351 # Environement setup for MQ echo "[extensions]" >> $HGRCPATH echo "mq=" >> $HGRCPATH #Repo init hg init hg qinit echo b > b hg ci -A -m foo echo cc > b hg qnew -f foo.diff echo b > b hg qrefresh hg debugindex .hg/store/data/b.i