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

Re: [bug] backwards compatibility APIs in 1.2 aren't really

From: <kfogel_at_collab.net>
Date: 2005-06-23 22:56:56 CEST

Stephen Davis <subversion@soundgeek.org> writes:
> I created the branch in r54 and committed one file on the branch to
> bring me to r55.

"committed one file on the branch" could mean you created a new file,
or that you copied it from elsewhere in the repository using svn cp.
The difference is crucial here, so an exact transcript would be best.

> ************** in a branch wc **************
>
> [SoundGeek ~/Development/Test/Work/ProjA]$ svn ls -v
> 54 stephen 2456 Jun 21 08:41 AACDecoder.h
> 28 stephen 16893 Feb 06 02:37 AACUtilities.cpp
> 55 stephen 572 Jun 21 08:42 HelloWorld.c
> 34 stephen 133903 Feb 11 13:55 ProjA.mcp
> 49 stephen 201 May 20 08:30 bob.cpp
> 44 stephen 57 May 09 14:38 joe.cpp
>
> ========================================================
> [SoundGeek ~/Development/Test/Work/ProjA]$ svn log HelloWorld.c
> ------------------------------------------------------------------------
> r55 | stephen | 2005-06-21 08:42:54 -0700 (Tue, 21 Jun 2005) | 1 line
>
> branch checkin test
> ------------------------------------------------------------------------
> r54 | stephen | 2005-06-21 08:41:25 -0700 (Tue, 21 Jun 2005) | 2 lines
>
> Make a test branch.
>
> ------------------------------------------------------------------------
> r52 | stephen | 2005-06-13 11:47:31 -0700 (Mon, 13 Jun 2005) | 1 line
>
> ?\191?\255?\208$
> ------------------------------------------------------------------------
> r46 | stephen | 2005-05-14 11:22:08 -0700 (Sat, 14 May 2005) | 1 line
>
> Fix the build.
> ------------------------------------------------------------------------
> r40 | stephen | 2005-05-09 14:03:52 -0700 (Mon, 09 May 2005) | 1 line
>
> breakage
>
> <snip>
>
> ------------------------------------------------------------------------
> r12 | stephen | 2005-01-13 05:56:26 -0800 (Thu, 13 Jan 2005) | 1 line
>
> First check-in.

Okay, it looks like you used 'svn cp' to add HelloWorld.c ?
 
> ========================================================
> [SoundGeek ~/Development/Test/Work/ProjA]$ svn info HelloWorld.c
> Path: HelloWorld.c
> Name: HelloWorld.c
> URL: file:///Users/stephen/Development/Test/svntest/branches/test/
> ProjA/HelloWorld.c
> Repository UUID: b5ec2128-ebec-0310-b373-ae7cc6f00d9a
> Revision: 55
> Node Kind: file
> Schedule: normal
> Last Changed Author: stephen
> Last Changed Rev: 55
> Last Changed Date: 2005-06-21 08:42:54 -0700 (Tue, 21 Jun 2005)
> Text Last Updated: 2005-06-21 08:42:54 -0700 (Tue, 21 Jun 2005)
> Properties Last Updated: 2005-06-21 08:42:03 -0700 (Tue, 21 Jun 2005)
> Checksum: 846b059378bb651c7c94d6f597227837
>
> ========================================================
> [SoundGeek ~/Development/Test/Work/ProjA]$ svn cat -r 32 HelloWorld.c@32
> svn: File not found: revision 32, path '/branches/test/ProjA/
> HelloWorld.c'

Expected failure, due to peg revision, yup.

> ========================================================
> [SoundGeek ~/Development/Test/Work/ProjA]$ svn log -r 32 HelloWorld.c
> svn: File not found: revision 32, path '/branches/test/ProjA/
> HelloWorld.c'

Unexpected failure, but a known bug (thanks to Ben Collins-Sussman for
pointing out to me that 'svn log' doesn't take peg revisions yet, and
therefore it wrongly always behaves by default as if it has been
handed a peg revision):

   http://subversion.tigris.org/issues/show_bug.cgi?id=2287

See there for details.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 23 23:43:32 2005

This is an archived mail posted to the Subversion Dev mailing list.

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