[PATCH] Fix the path problem on Windows that prevents to run hg from its own repository

Andrew Thompson andrewkt at aktzero.com
Sun Jul 3 14:04:50 CDT 2005


Giuseppe Bilotta wrote:
> On Sun, 03 Jul 2005 03:02:16 -0400, Andrew Thompson wrote:
>>NOTE: I don't have a 100% clean machine to test on right now.
>>
>>Mercurial is currently able to run properly even when looking at a 
>>repository of Mercurial on my Windows box
>>
>>D:\rootpull>hg version
>>Mercurial version 38d106db75bc
> 
> The question is: is rootpull a *clean* copy of the hg repository,
> without compiled stuff in it?

Yes, it was...

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>d:

D:\>hg clone http://selenic.com/hg newpull
'hg' is not recognized as an internal or external command,
operable program or batch file.

D:\>set PATH=%PATH%;"C:\Program Files\Mercurial"

D:\>hg clone http://selenic.com/hg newpull
requesting all changes
adding changesets
adding manifests
adding file revisions
modified 139 files, added 594 changesets and 1215 new revisions


D:\>cd newpull

D:\newpull>hg status

D:\newpull>hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
139 files, 594 changesets, 1215 total revisions

D:\newpull>touch asdf

D:\newpull>echo #blah >> hg

D:\newpull>hg diff
diff -r ca3c499e94c6 hg
--- a/hg        Sun Jul 03 11:58:05 2005
+++ b/hg        Sun Jul 03 15:00:39 2005
@@ -11,3 +11,4 @@
  from mercurial import commands

  commands.run()
+#blah

D:\newpull>hg status
C hg
? asdf

-- 
Andrew Thompson
http://aktzero.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: andrewkt.vcf
Type: text/x-vcard
Size: 129 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050703/f77a522b/andrewkt.vcf


More information about the Mercurial mailing list