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

Re: Symlinks on Win32...

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2006-01-31 21:47:42 CET

If symlinks are supported within subversion's file system (and I
think they should be, relying on symlinks in the local filesystem
obviously doesn't work because Windows is too limited), and you have
two instances of the same file at different places in your WC then
you simply have to check for "commit conflicts":

e.g.:
/myWC/foo/fileA
/myWC/bar/fileA

both instances of fileA are pointing to the same file in the repo.

If one is deleted in the WC and the other is not, not a problem if it
was the 'linked' copy that was deleted, simply delete the link.

If the original is deleted (this applies to the case when there is
only one copy in the WC as well), subversion can re-root the file at
any of the link points and update all of the links to that file
everywhere in the repo - sounds hard.

If there are changes to both copies, the commit will fail until they
are merged in the WC (preferrably with some help from svn, but the
merge automatically as part of the commit because then there is no
opportunity to test and review the merge results)

So basically 'svn commit' would detect incompatible changes to the
'same' file in a WC and abort the commit until they are resolved

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 31 21:51:06 2006

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

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