[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Hard links on Win2k/XP

From: Marco Scholz <mscholz_at_samson.de>
Date: 2004-07-21 16:33:58 CEST

Hi,

I'm using TortoiseSVN 1.07 and I use Hard Links
(hard links are a hidden feature of NTFS on Win2k and XP to
create more than one directory entry for one file on the disk (something
like
a "cheap copy")).

When I use hard links with files that are under TortoiseSVN control,
these hard links will be deleted sometimes.
It seems like subversion (not Tortoise) is deleting files before it
does some operations (for example "revert") on it.

Has anybody worked with hard links and subversion ?

My problem is the following situation:

Path1\file.txt <-under subversion control

Path2\file.txt is a hard link to Path1\file.txt, not version controlled

Path3\file.txt is a hard link to Path1\file.txt, not version controlled

Path4\file.txt is a hard link to Path1\file.txt, not version controlled

...

When I edit the file in Path1 and then I do for example a "revert" on the
file, the hard link is broken (this can only happen, if the application
deletes a file and create a new one instead of modifying/overwriting it).

Again, hard links are a OS Feature >=Win2K/XP (like symb. links on unix
systems).

Thanks for your help,

Marco Scholz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 21 16:37:20 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.