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

Re: Merging or moving from "trunk" to a branch.

From: Stephen McConnell <mcconnell_stephen_at_yahoo.com>
Date: 2005-02-22 21:58:53 CET

Maybe then I don't understand a revision....

I have a Release Branch.

Developers are committing changes to trunk, but an immediate bug fix
needs to be moved from trunk to the release branch. I need to move
that specific file with the specific revision number to the release
branch (the revision number helps me keep track of what changes were
made where and by whom... I guess that's the purpose of verison
control).

I don't see how moving a file with a revision associated to it to
another branch violates *core* principles? The revision hasn't
changed. As a matter of fact, I DON'T want the revision number on the
file to change.

Stephen McConnell

--- Max Bowsher <maxb@ukf.net> wrote:

> Stephen McConnell wrote:
> > I need to be able to move individual files from the "trunk" to a
> > branch.
> >
> > I have tried merging it, but that doesn't work. The only way I
> seem to
> > be able to do this is to delete the file in the branch and "copy"
> the
> > file to trunk. BUT this creates a new revision number...
> >
> > Is there a way that I can get a file copied from trunk to the
> branch
> > and keept the same revision number on the file??
>
> NO! Doing so would violate one of Subversion's core principals - a
> revision,
> once committed, *never* changes.
>
> Max.
>
>

=====

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 22 22:01:14 2005

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.