Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-empty-dir @ 724:1c0c413cccdd
Get add and locate to use new repo and dirstate walk code.
They use a walk function that abstracts out the irritating details, so
that there's a higher likelihood of commands behaving uniformly.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 18 Jul 2005 06:54:21 -0800 |
parents | e33c85d2812a |
children | 7e4843b7efd2 |
line wrap: on
line source
#!/bin/sh hg init echo 123 > a hg add a hg commit -t "first" -u test -d "0 0" a mkdir sub echo 321 > sub/b hg add sub/b hg commit -t "second" -u test -d "0 0" sub/b cat sub/b hg co 0 cat sub/b ls sub true