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

答复: Links in svn directory

From: <XHChen_at_winbond.com>
Date: 2006-10-09 12:19:52 CEST

Thank you, Erik!
Does it mean that some folders in my project must be switched between the "old_path" and "new_path"? That sounds terrible. Or is there other way to discover if there any updates in "new_path"?

-----邮件原件-----
发件人: Erik Huelsmann [mailto:ehuels@gmail.com]
发送时间: 2006年10月9日 17:52
收件人: NS25 XHChen
抄送: users@subversion.tigris.org
主题: Re: Links in svn directory

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.

===========================================================================================
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 12:23:51 2006

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