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

Re: Add missing files to old revision

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Thu, 14 Oct 2010 13:20:21 +0200

Hi Zishan,

On 14 October 2010 09:33, zishan <jashsoftpk_at_aim.com> wrote:
> This is a suggested feature I think. If for some reason suppose I have added
> missing files to the trunk which created new revision no. for eg. 83, later
> on some day I have to switch to revision 56, then I will not get that
> missing file which is supposed to be on rev. 83 now.
>

This indicates that you are using revision numbers in a way they are
not intended. Tags or branches are what you need here. To elaborate on
this use case a bit more:

Suppose your trunk has reached some usable state and you want to
preserve this. Typically you commit everything (creating rev X). Now,
instead of having to remember that revision X is an interesting
revision, you should create a tag of trunk in a separate area of the
repository (typically you use /trunk for day to day work, /tags to
hold tags and /branches for large scale modifications that would
disrupt trunk if done directly there).
So you tag trunk to say /tags/release_vXXX.

Then you continue work on trunk and decide that some new files you
added to trunk in rev Y should also become part of the release_vXXX.
Then you simply merge these additions to the tags/release_vXXX tag.
(note that even though it is called a tag, for subversion it is just
another tree with files that can me modified).

When using tags/branches there is no need to switch to older
revisions, you switch to other areas inside the repository.

HTH and if it is not yet clear, read up on this in the manuals (both
from subversion and TSVN) as the authors of these documents explain
this much better.

-- 
Regards,
Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2671701
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-14 13:20:33 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.