You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by XH...@winbond.com on 2006/10/09 10:19:52 UTC
答复: Links in svn directory
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 <XH...@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
Re: 答复: Links in svn directory
Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/9/06, XHChen@winbond.com <XH...@winbond.com> wrote:
> 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"?
What's so terrible about it? It just means the working copy takes its
changes from a different root than the current subtree...
What do you think 'being switched' means?
For more on switching working copies see
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.switchwc.html
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org