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

RE: I get back strange revision

From: Zsolt <zkoppanylist_at_intland.com>
Date: 2006-04-08 16:01:24 CEST

Duncan,

but they are the same files. Of course there are smaller differences between
them.

I give you an example:

I commit the file src/a.java to the main trunk I get the revision 1234. Now
I copy the entire trunk into tag/1.1.

Now I modify and commit src/a.java again on the trunk and copy the entire
trunk to tag/1.2.

Shouldn't return the commands below the same?

svn cat -r 1234 URL/tag/1.1/src/a.java
svn cat -r 1234 URL/tag/1.2/src/a.java

Zsolt

>-----Original Message-----
>From: Duncan Murdoch [mailto:murdoch@stats.uwo.ca]
>Sent: Saturday, April 08, 2006 2:45 PM
>To: Zsolt
>Cc: Subversion List
>Subject: Re: I get back strange revision
>
>On 4/8/2006 8:14 AM, Zsolt wrote:
>> Hi,
>>
>> as far I understand fort he same file and revision I should have always
>the
>> same content back, regardless to trunk or branch.
>>
>> The commands below return completely different results.
>>
>> svn cat -r 12750 ProjectManager.java
>> svn cat -r 12750 {URL to a different branch}/ProjectManager.java
>>
>> What do I miss?
>
>Your understanding is wrong. There need be no connection whatsoever
>between those two files. You can look at the logs for each of them to
>see where they came from and what was done to them; the only reason to
>expect those files to be identical would be:
>
> - one is a copy of the other, or both are copies from the same source
> - no changes were made to either one between the time of the copying
>and rev 12750.
>
>If trunk and branch always needed to be identical, what would be the
>purpose of them??
>
>Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 8 16:02:54 2006

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.