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

[TSVN] Re: Hard links

From: Jens Scheidtmann <Jens.Scheidtmann_at_bayerbbs.com>
Date: 2004-07-21 21:35:06 CEST

"Boris" <boris@kafana.org> writes:
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
--text follows this line--
> > It seems like TortoiseSVN is deleting files before it does
> > some operation (for example "revert") on it.
>
[...]
> I think that this is exactly what's happening with the SVN/TSVN "revert"
> operation. So in order for this to work right (and already does), they have
> to go a few steps further in preserving your hard link. Since this is not
> cross platform code (*very* win32 specific), I think it will never happen
> :).

As far as I recall the unix hard links work the same (AFAIK this
functionality is regulated in the POSIX standard, so it sould work the
same --- use ln without -s). So multiple directory entries can be
created linking to the same inode. (BTW it can even be done with
CDs.)

Soft links (ln -s) can be compared to the *.lnk files on windows,
though they are handled more transparently on unix.

So, if you hardlink to a subversion controlled file, you should have
similar problems on linux. If somebody could please check that...

Jens

-- 
Jens.Scheidtmann@bayerbbs.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 22 09:20:11 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.