Windows long path experimenting report

Adrian Buehlmann adrian at cadifra.com
Thu Jun 19 07:08:49 CDT 2008


On 19.06.2008 13:46, Adrian Buehlmann wrote:
> On 19.06.2008 11:49, Adrian Buehlmann wrote:
>> I can't do anything with that repo dir with explorer. I can't even
>> delete it.
>>
>> So I don't know yet how to get rid of that dir from my harddisk :)
> 
> Here is a manual procedure:
> 
> Rename long directories/files to single chars starting
> at base directories of each subtree inside .hg\store\data.
> 
> This can even be done by using explorer (choose "Rename" in the context
> menu of the directory/file and then hit a single char key).

Before someone starts asking: No, aux.i cannot be renamed liked that.

I haven't found a way to get rid of aux.i using explorer.

And, of course, my pet peeve works with said hack (on Windows XP SP3):

> hgt clone -U http://www.cadifra.com/cgi-bin/repos/auxtest
--- running hg from W:\hg-crew-scratch
destination directory: auxtest
creating file: \\?\W:\auxtest\.hg\00changelog.i
creating file: \\?\W:\auxtest\.hg\requires
creating file: \\?\W:\auxtest\.hg\store\00changelog.i
requesting all changes
creating file: \\?\W:\auxtest\.hg\dirstate
creating file: \\?\W:\auxtest\.hg\journal.dirstate
creating file: \\?\W:\auxtest\.hg\journal.branch
creating file: \\?\W:\auxtest\.hg\branch
adding changesets
creating file: \\?\W:\auxtest\.hg\store\00changelog.i
creating file: \\?\W:\auxtest\.hg\store\00changelog.i.a
adding manifests
creating file: \\?\W:\auxtest\.hg\store\00manifest.i
creating file: \\?\W:\auxtest\.hg\store\00manifest.i
adding file changes
creating file: \\?\W:\auxtest\.hg\store\data\aux.i
creating file: \\?\W:\auxtest\.hg\store\data\aux.i
creating file: \\?\W:\auxtest\.hg\store\00changelog.i
added 1 changesets with 1 changes to 1 files
creating file: \\?\W:\auxtest\.hg\branch.cache
creating file: \\?\W:\auxtest\.hg\.branch.cache-d0u2zr
creating file: \\?\W:\auxtest\.hg\hgrc

> cd auxtest

> hgt verify
--- running hg from W:\hg-crew-scratch
creating file: \\?\W:\auxtest\.hg\requires
creating file: \\?\W:\auxtest\.hg\store\00changelog.i
checking changesets
creating file: \\?\W:\auxtest\.hg\store\00changelog.d
creating file: \\?\W:\auxtest\.hg\store\00changelog.i
checking manifests
creating file: \\?\W:\auxtest\.hg\store\00manifest.i
creating file: \\?\W:\auxtest\.hg\store\00manifest.d
creating file: \\?\W:\auxtest\.hg\store\00manifest.i
crosschecking files in changesets and manifests
checking files
creating file: \\?\W:\auxtest\.hg\store\data\aux.i
creating file: \\?\W:\auxtest\.hg\store\data\aux.d
creating file: \\?\W:\auxtest\.hg\store\data\aux.i
1 files, 1 changesets, 1 total revisions

> hgt export tip
--- running hg from W:\hg-crew-scratch
creating file: \\?\W:\auxtest\.hg\requires
creating file: \\?\W:\auxtest\.hg\store\00changelog.i
creating file: \\?\W:\auxtest\.hg\store\00manifest.i
creating file: \\?\W:\auxtest\.hg\localtags
# HG changeset patch
# User test
# Date 1213091345 14400
# Node ID 911089afebcbd80d6ca25c4697332f74e9a8c900
# Parent  0000000000000000000000000000000000000000
added file aux

creating file: \\?\W:\auxtest\.hg\store\data\aux.i
diff --git a/aux b/aux
new file mode 100644
--- /dev/null
+++ b/aux
@@ -0,0 +1,1 @@
+xxx




More information about the Mercurial-devel mailing list