--repository bug on relative path

Michael Smith smithm at netapps.com.au
Thu Jul 7 06:47:50 CDT 2005


On Thu, 7 Jul 2005 00:49:57 -0700 (PDT)
TK Soh <teekaysoh at yahoo.com> wrote:

> The --repository option seems to have problem dealing with relative
> path:
> 
>   % hg -R ./hg-R-bug/ log README | head -5
> 
>   % hg -R $PWD/hg-R-bug/ log README | head -5
>   revision:    20:b4476c784622a7b71f73b54361fe5a910fffbde6
>   changeset:   631:a287f6cd9c6bbb078f1a84b6f50da0cb2dea5344
>   user:        Radoslaw Szkodzinski <astralstorm at gorzow.mm.pl>
>   date:        Wed Jul  6 10:23:34 2005
>   summary:     Update documentation of hg tag

I saw something similar today:

find .

./dir1/dir2/file

hg add ./dir1/dir2/file
hg commit dir1/dir2/file

hg treats the version without ./ as a different file.
-- 
Michael Smith
Network Applications
www.netapps.com.au   | +61 (0) 416 062 898
Web Hosting          | Internet Services


More information about the Mercurial mailing list