Mercurial > hg
view tests/test-paths @ 11508:fbab0875fd09 stable
log: fix missing diff output for hg log -p in sub directory
prep(ctx, fns) receives paths relative to repository root, not cwd.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 02 Jul 2010 23:49:06 +0900 |
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