view tests/test-paths @ 6330:4e836769d93c

util: test fileno() availability in win32 set_binary() Fix suggested by Alexander Belchenko <bialix@ukr.net>
author Patrick Mezard <pmezard@gmail.com>
date Thu, 20 Mar 2008 22:41:40 +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