tests/test-update-renames
author Eric Eisner <ede@mit.edu>
Mon, 26 Apr 2010 15:58:36 -0400
changeset 11047 c7dbd6c4877a
parent 10874 4f11978ae45d
permissions -rwxr-xr-x
tags: return tags in sorted order This makes log and summary have less arbitrary tag ordering and also groups similar tags together, such as the mq tags.

#!/bin/sh

# test update logic when there are renames


# update with local changes across a file rename
hg init a
cd a
echo a > a
hg add a
hg ci -m a
hg mv a b
hg ci -m rename
echo b > b
hg ci -m change
hg up -q 0
echo c > a
hg up
cd ..