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

RE: Rolling back some components of a tag

From: David Aldrich <David.Aldrich_at_EU.NEC.COM>
Date: Thu, 19 Aug 2010 12:25:24 +0100


It has been suggested that I use peg revisions to solve this problem. However, I don't understand peg revision syntax.

As a test, I created a new text file in the trunk called pegtest.txt and then made changes to it:

r1855 commit pegtest.txt ver.1
r1856 commit pegtest.txt ver.2
r1857 commit pegtest.txt ver.3
r1858 create tag of trunk
r1859 commit pegtest.txt ver.4
r1861 create branch of tag
r1862 commit pegtest.txt ver.5

Now if I look at my branch, pegtest.txt is ver.3 i.e. r1857 as expected.

If, in my branch, I do:

svn update -r1856 pegtest.txt

pegtest.txt gets deleted. I guess this is because the branch did not exist in r1856.

How can I use a PEG revision to bring pegtest.txt r1856 from the trunk into the branch please?


Received on 2010-08-19 13:26:16 CEST

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.