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

Re: Links in svn directory

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-10-09 11:51:53 CEST

On 10/9/06, XHChen@winbond.com <XHChen@winbond.com> wrote:
>
>
>
> Hi,
>
> I have used svn for about one year. It's a great tool for S/W
> developer.
>
> Is there a way to create a link for a specified path and revision, such as
>
> svn link http://svn_addr/some_folder/old_path
> http://svn_addr/another_folder/new_path
>
> If revision in "old_path" was changed, user who works on the "new_path" can
> know the modification and update his working copy.
>
> Currently I have to use "svn cp" to duplicate a "new_path", but I can not
> get any hint when the "old_path" was changed.

If you create an empty directory in another_folder, you can switch
that to old_path with the following command:

svn switch empty-dir http://svn_addr/another_folder/new_path

Consecutive 'svn update's will update the new_path with the changes
committed to the other folder's new_path. Note: your own changes will
be committed .../old_path.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 9 11:52:33 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.