Mercurial > hg
view tests/test-diffdir @ 4167:4574a8cb080f
Store empty (default) branch in branch cache, too.
Operations on this branch don't work otherwise.
Reading branches.cache had to be adjusted to allow an empty label.
Adjusted reading of the cache tip for symmetry, no functional change here.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 09 Mar 2007 18:09:02 +0100 |
parents | 000d122071b5 |
children | f80cf8b7bbd9 |
line wrap: on
line source
#!/bin/sh hg init hg branch dummy # needed so -r "" doesn't point to the unnamed/default branch touch a hg add a hg ci -m "a" -d "1000000 0" echo 123 > b hg add b hg diff --nodates hg diff --nodates -r tip echo foo > a hg diff --nodates hg diff -r "" hg diff -r tip -r "" true