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

RE: Re: Regarding issue in SVN

From: Thijs de Ridder <thijs.de.ridder_at_mep-telecom.com>
Date: Fri, 30 Jan 2015 10:26:34 +0100

On Jan 29, 2015 at 17:31 PM, Asheesh Agrawal wrote:
> Dear Ben Fritz,
> Thanks for your kind reply.I am extracting files using version log
history
> and then exporting the required files.Please find the screenshot
attached in
> this reply for your kind confirmation.
> Well I do not have conceptual misunderstanding of SVN :),

I'm afraid you do have a conceptual misunderstanding of SVN.

> Test1.txt file
> have 3 total revision versions i.e. 45,46,47 and Test2.txt file has
only
> revision verison i.e. 49 while one verison is for folder i.e. 44.The
same I
> have mentioned during commit message. Now when I am exporting versions

> 44,45,46(Test1 file) and 49(Test2 file) at a time on my desk then
after
> exporting I could see in Test1 file the changes for revision version
47 as
> well which should not be. If version 49 would be related to Test1 file
then
> I could understand that it will contain the changes for version 47 in
by
> default. I hope issue is clear now. Please go through the screenshots
> attached on 28Jan2015 post.

A file exists in a revision, a file doesn't have a revision itself. All
changes to a file are in the latest revision. When you do a export of
revision 49, you get the status of the file in revision 49. This status
contains ALL changes made to the file since it's first commit. So also
changes from revision 47.

If I understand you correctly, you say Test1.txt doesn't have revision
47. This is incorrect. The file is not changed in revision 47 (so the
contect is identical to revision 46) but it is still there.

You use the option 'Save revision to...'. The documentation tells:
'Save the selected revision to a file so you have an older version of
that
file.'
So you save the file(s) of a certain revision, not a mixed number of
revisions. The highest selected revision is 49, so you get the status of
the file from revision 49 (Which contains all changes from previous
revisions).

What you want is possible, by using branches and use cherry picking for
merges. Then you can select which revisions you want to merge.
Documentation on merging and cherry picking:
http://svnbook.red-bean.com/en/1.7/svn.branchmerge.html

And I repeat what Ben Fritz told, make sure every export can be traced
back
to a single revision:
On Jan 29, 2015 at 16:46 PM, Ben Fritz wrote:
> However, you should really re-think your deployment and development
> method, if you are cherry-picking individual revisions of individual
> files for release. Each release should be of an entire revision or it
> will be very difficult to track in the future. If you must, then feel
> free to create a new branch and revert any changes you don't want to
> release, but you should not be releasing anything you can't recreate
> with a simple update to a single revision or tag.

Best regards,

Thijs

-----Oorspronkelijk bericht-----
Van: Asheesh Agrawal [mailto:asheesh.agrawal_at_mpowersoft.com]
Verzonden: donderdag 29 januari 2015 17:31
Aan: users_at_tortoisesvn.tigris.org; Ben Fritz
Onderwerp: RE: Re: Regarding issue in SVN

Dear Ben Fritz,
Thanks for your kind reply.I am extracting files using version log
history and then exporting the required files.Please find the screenshot
attached in this reply for your kind confirmation.
Well I do not have conceptual misunderstanding of SVN :), Test1.txt file
have 3 total revision versions i.e. 45,46,47 and Test2.txt file has only
revision verison i.e. 49 while one verison is for folder i.e. 44.The
same I have mentioned during commit message. Now when I am exporting
versions 44,45,46(Test1 file) and 49(Test2 file) at a time on my desk
then after exporting I could see in Test1 file the changes for revision
version 47 as well which should not be. If version 49 would be related
to Test1 file then I could understand that it will contain the changes
for version 47 in by default. I hope issue is clear now. Please go
through the screenshots attached on 28Jan2015 post.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessage
Id=3095319

To unsubscribe from this discussion, e-mail:
[users-unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3095605

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-01-30 10:26:43 CET

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.