tests/test-nested-repo
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
Sun, 03 Sep 2006 16:25:41 -0400
changeset 3046 461573aa02ef
parent 2136 3335564f2518
child 2965 890e285c52a1
permissions -rwxr-xr-x
[churn] Ignore merge csets Merge changesets attributed a large number of lines to people that didn't actually develop it, but simply merged the code. By ignoring merges, we get a more accurate picture of how much code everyone changed.

#!/bin/sh

hg init a
cd a
hg init b
echo x > b/x
echo '# should print nothing'
hg st
echo '# should print ? b/x'
hg st b/x

hg add b/x

echo '# should print A b/x'
hg st
echo '# should forget b/x'
hg revert
echo '# should print nothing'
hg st b