You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ramanathan Muthaiah <ru...@gmail.com> on 2007/01/06 21:52:21 UTC

[Subversion] : updating already created / available tag

Hi All,

I could not find any clues in the SVN book, hence posting to this forum.

Brief note on the requirement:

1. From working copy, commit all the files except one file "A"
(probably forgot to include it)

2. Run svn copy /path/to/wc file:///path/to/repo/tag/TAG-NAME

3. commit the changes done to file "A"

Now, how do I update the newly created tag "TAG-NAME" to include this
change in file "A" as well as part of it.

/Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Subversion] : updating already created / available tag

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:
> On 1/7/07, Branko Čibej <br...@xbc.nu> wrote:
>> Ben Collins-Sussman wrote:
>> > On 1/6/07, Ramanathan Muthaiah <ru...@gmail.com> wrote:
>> >
>> >> Now, how do I update the newly created tag "TAG-NAME" to include this
>> >> change in file "A" as well as part of it.
>> >>
>> >
>> > svn switch file://path/to/repos/tag/TAG-NAME
>> > svn add A
>> > svn commit
>>
>> Ah ... I'd have expected this to be a merge instead?
>>
>>
>
> Didn't he say he had some local mods that needed to committing to a
> particular repository location?  Merges are all about re-applying
> changes from one place in the repository to another.  If you're trying
> to apply as-of-yet-uncommitted working copy changes to some particular
> repository location, I can't see how 'svn merge' would help.

Uh, yeah right ... I managed to miss the fact that it was a wc-to-repos
copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Subversion] : updating already created / available tag

Posted by Ben Collins-Sussman <su...@red-bean.com>.
On 1/7/07, Branko Čibej <br...@xbc.nu> wrote:
> Ben Collins-Sussman wrote:
> > On 1/6/07, Ramanathan Muthaiah <ru...@gmail.com> wrote:
> >
> >> Now, how do I update the newly created tag "TAG-NAME" to include this
> >> change in file "A" as well as part of it.
> >>
> >
> > svn switch file://path/to/repos/tag/TAG-NAME
> > svn add A
> > svn commit
>
> Ah ... I'd have expected this to be a merge instead?
>
>

Didn't he say he had some local mods that needed to committing to a
particular repository location?  Merges are all about re-applying
changes from one place in the repository to another.  If you're trying
to apply as-of-yet-uncommitted working copy changes to some particular
repository location, I can't see how 'svn merge' would help.

Re: [Subversion] : updating already created / available tag

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:
> On 1/6/07, Ramanathan Muthaiah <ru...@gmail.com> wrote:
>
>> Now, how do I update the newly created tag "TAG-NAME" to include this
>> change in file "A" as well as part of it.
>>
>
> svn switch file://path/to/repos/tag/TAG-NAME
> svn add A
> svn commit

Ah ... I'd have expected this to be a merge instead?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Subversion] : updating already created / available tag

Posted by Ben Collins-Sussman <su...@red-bean.com>.
On 1/6/07, Ramanathan Muthaiah <ru...@gmail.com> wrote:

> Now, how do I update the newly created tag "TAG-NAME" to include this
> change in file "A" as well as part of it.
>

svn switch file://path/to/repos/tag/TAG-NAME
svn add A
svn commit

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org