tests/test-paths
author Christian Ebert <blacktrash@gmx.net>
Mon, 20 Oct 2008 17:40:29 +0200
changeset 7191 d14212218582
parent 5951 92eb0a019bf2
permissions -rwxr-xr-x
mail: mime-encode patches that are utf-8 utf-8 can be safely detected without making assumptions on the encoding/locale used by the recipient. Content-Transfer-Encoding for utf-8 patches is base64 (default of python's email module).

#!/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