[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: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-04-08 16:40:21 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zsolt wrote:
> 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

Yes, IN THIS SPECIFIC CASE, since tag/1.1/src/a.java and
tag/1.2/src/a.java share a common copy history, and r1234 is before the
revision at which their histories diverge.

>> 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.

No. Not true.

>>> The commands below return completely different results.
>>>
>>> svn cat -r 12750 ProjectManager.java
>>> svn cat -r 12750 {URL to a different branch}/ProjectManager.java

Unsurprising.

If you try to explain in detail *why* you think they should be, it might
help people here work out how to disabuse you of your misunderstanding.

Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iD8DBQFEN8tVfFNSmcDyxYARAjoJAKDKY0R9UXNPgbO0mbnNWLZHx54dhQCgpKcT
lt9632d/sRUM4E/tJD7xLqY=
=/LOU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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:41:36 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.