Mercurial > hg
view tests/test-paths @ 6051:1038b1458d7a
keyword: safeguards against erroneous behaviour or aborts
prevent issues due to global [keyword] filename patterns:
- add email to nokwcommands
- protect everything under .hg from expansion
(tested with qcommit)
- exclude everything starting with .hg* just in case
prevent abort when pulling from bundlerepo:
- do not set up kwrepo for bundlerepo
expansion inside a bundle is nonsense
bundlerepo issue spotted and test case provided by pmezard.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Wed, 06 Feb 2008 23:14:33 +0100 |
parents | 92eb0a019bf2 |
children |
line wrap: on
line source
#!/bin/sh hg init a hg clone a b cd a echo '[paths]' >> .hg/hgrc echo 'dupe = ../b' >> .hg/hgrc hg in dupe | fgrep '../' cd .. hg -R a in dupe | fgrep '../' true