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

AW: [TSVN] Hard links

From: Marco Scholz <mscholz_at_samson.de>
Date: 2004-07-21 15:45:39 CEST

>Subversion. Check the Subversion FAQ. Hardlinks will be working with
>the 1.1.x branch.

I can't find something about hard links on the subversion website, only
about symb. links under unix.

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 overwriting it).

>> Has anybody worked with hard links und TortoiseSVN ?
>
>Some have tried ;)
>
>> Again, hard links are a OS Feature >=Win2K/XP ?
>
>Not quite correct. The hardlinks are a feature of NTFS5 (which only
>Win2k/XP understand).

>From MSDN (Storage: Platform SDK) CreateHardLink

The CreateHardLink function establishes a hard link between an existing file
and a new file. Currently, this function is only supported on NTFS.

....
....

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Unicode: Implemented as Unicode and ANSI versions.
Header: Declared in Winbase.h; include Windows.h.

Greetings

Marco Scholz

PS. I looked at the source code of TortoiseSVN and I realized, that you use
the /revert function of subversion. So this looks like a subversion
problem....

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jul 21 16:53:45 2004

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

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