[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: Bob Hiestand <bob.hiestand_at_gmail.com>
Date: 2006-10-09 23:07:24 CEST

I believe the svn:externals property would help you. With this, you can do:

svn mkdir http://svn_addr/another_folder/new_path
svn co http://svn_addr/another_folder/new_path
cd <resulting directory>
svn propset svn:externals http://svn_addr/some_folder/old_path .
svn commit

Now, when you check out another_folder, the new_path directory will
contain the contents of the other folder in the repository, and will
be updated, etc correctly.

Hope that helps,

bob

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.
>
>
>
> Thanks and best regards,
>
> Xhchen
>
>
> ===========================================================================================
> The privileged confidential information contained in this email is intended
> for use only by the addressees as indicated by the original sender of this
> email. If you are not the addressee indicated in this email or are not
> responsible for delivery of the email to such a person, please kindly reply
> to the sender indicating this fact and delete all copies of it from your
> computer and network server immediately. Your cooperation is highly
> appreciated. It is advised that any unauthorized use of confidential
> information of Winbond is strictly prohibited; and any information in this
> email irrelevant to the official business of Winbond shall be deemed as
> neither given nor endorsed by Winbond.

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