You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "C. Michael Pilato" <cm...@collab.net> on 2008/01/09 23:00:37 UTC

'svn plist' peg-rev buglet?

Observed moments ago using a relatively recent trunk build:

$ svn plist -v svn-test-work/working_copies/log_tests-18/trunk@6
Properties on 'svn-test-work/working_copies/log_tests-18/trunk':
   svn:mergeinfo : /branches/a:3-11
/branches/b:10-13
/branches/c:15-16
/trunk:2-14
$ svn plist -v svn-test-work/working_copies/log_tests-18/trunk@6 -r6
Properties on 
'file:///home/cmpilato/projects/subversion/subversion/tests/cmdline/svn-test-work/repositories/log_tests-18/trunk':
   svn:mergeinfo : /branches/a:3-5
/trunk:2

My recollection is that our peg-rev policy states that the default operative 
rev when a peg-rev is explicitly provided is, in fact, that peg-rev.  But 
that ain't what's happening.

Is my recollection right (and the demonstrated behavior, therefore, wrong)?

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Re: 'svn plist' peg-rev buglet?

Posted by "C. Michael Pilato" <cm...@collab.net>.
Mark Phippard wrote:
> I did not recall having a policy about the operative rev.  I would
> assume those policies would have been established prior to the peg rev
> support being added.  I thought the only policy was how we handled the
> absence of a peg rev (once that feature had been added).

Ahem.

    $ svn log .@10 -q
    ------------------------------------------------------------------------
    r10 | gstein | 2001-08-31 07:48:03 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r9 | gstein | 2001-08-31 07:35:15 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r8 | kfogel | 2001-08-31 02:15:13 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r7 | kfogel | 2001-08-31 01:53:32 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r6 | kfogel | 2001-08-31 01:01:09 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r5 | kfogel | 2001-08-31 01:00:44 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r4 | kfogel | 2001-08-31 00:55:30 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r3 | kfogel | 2001-08-31 00:49:32 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r2 | kfogel | 2001-08-31 00:26:09 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    r1 | svn | 2001-08-31 00:24:14 -0400 (Fri, 31 Aug 2001)
    ------------------------------------------------------------------------
    $ svn list .@10 -v
         10 gstein                Aug 31  2001 ./
          1 svn               705 Aug 31  2001 AUTHORS
          1 svn               573 Aug 31  2001 BUGS
          1 svn              2742 Aug 31  2001 COPYING
          1 svn             27072 Aug 31  2001 HACKING
          1 svn             18042 Aug 31  2001 IDEAS
          8 kfogel           2705 Aug 31  2001 INSTALL
          1 svn              6288 Aug 31  2001 Makefile.in
          1 svn               104 Aug 31  2001 NEWS
          1 svn              3422 Aug 31  2001 PORTING
          1 svn              2104 Aug 31  2001 README
         10 gstein          15644 Aug 31  2001 STACK
          1 svn              1931 Aug 31  2001 TASKS
          1 svn                   Aug 31  2001 ac-helpers/
          1 svn              5571 Aug 31  2001 autogen.sh
          1 svn              9711 Aug 31  2001 build.conf
          1 svn             11040 Aug 31  2001 configure.in
          1 svn              4393 Aug 31  2001 dist.sh
          1 svn                   Aug 31  2001 doc/
          1 svn                   Aug 31  2001 expat-lite/
          1 svn             12417 Aug 31  2001 gen-make.py
          6 kfogel                Aug 31  2001 notes/
          1 svn                   Aug 31  2001 subversion/
          1 svn              1805 Aug 31  2001 subversion.dsp
          1 svn             15288 Aug 31  2001 subversion.dsw
          1 svn              1791 Aug 31  2001 svn_check.dsp
          1 svn              3462 Aug 31  2001 svn_config.dsp
          1 svn              2252 Aug 31  2001 svn_private_config.hw
          1 svn                   Aug 31  2001 tools/
          4 kfogel                Aug 31  2001 www/
    $ svn cat README@10
                   Subversion, a version control system.
                   =====================================

    This code is still under development.  For an overview, visit

       http://subversion.tigris.org/

    If you like what you see, then run "make ps" inside the doc/ directory
    and read any PostScript files that result.

    See COPYING for copyright information.
    See HACKING for development information.
    See INSTALL for installation information.

    A rough guide to the source tree:

       doc/
          User and Developer documentation.
       www/
          Subversion web pages (live content at http://subversion.tigris.org/).
       tools/
          Stuff that works with Subversion, but that Subversion doesn't 
depend on.
       subversion/
          Source code to subversion itself (as opposed to external libraries).
       subversion/include/
          Public header files for users of subversion libraries.
       subversion/libsvn_fs/
          The versioning "filesystem" API.
       subversion/libsvn_repos/
          Repository functionality built around the `libsvn_fs' core.
       subversion/libsvn_delta/
          Common code for tree deltas, text deltas, and property deltas.
       subversion/libsvn_wc/
          Common code for working copies.
       subversion/libsvn_ra/
          Common code for repository access.
       subversion/libsvn_client/
          Common code for client operations.
       subversion/clients/cmdline/
          The command line client.
       subversion/tests/
          Automated test suite.
       expat-lite/
          Expat library from James Clark. There is a private copy in the
          Subversion repository because we have some local changes to
          it. See expat-lite/CHANGES.svn and expat-lite/CHANGES for
          information on those changes.
       apr/
          Apache Portable Runtime library.
          *Note*: This is not in the same repository as Subversion.  Read
          autogen.sh for instructions on how to get it if you don't
          already have it.
       neon/
          Neon library from Joe Orton.
          *Note*: This is not in the same repository as Subversion.  Read
          autogen.sh for instructions on how to get it if you don't
          already have it.
    $

Oh yes.  There's certainly convention, if not policy.

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Re: 'svn plist' peg-rev buglet?

Posted by Mark Phippard <ma...@gmail.com>.
On Jan 9, 2008 6:00 PM, C. Michael Pilato <cm...@collab.net> wrote:
> Observed moments ago using a relatively recent trunk build:
>
> $ svn plist -v svn-test-work/working_copies/log_tests-18/trunk@6
> Properties on 'svn-test-work/working_copies/log_tests-18/trunk':
>    svn:mergeinfo : /branches/a:3-11
> /branches/b:10-13
> /branches/c:15-16
> /trunk:2-14
> $ svn plist -v svn-test-work/working_copies/log_tests-18/trunk@6 -r6
> Properties on
> 'file:///home/cmpilato/projects/subversion/subversion/tests/cmdline/svn-test-work/repositories/log_tests-18/trunk':
>    svn:mergeinfo : /branches/a:3-5
> /trunk:2
>
> My recollection is that our peg-rev policy states that the default operative
> rev when a peg-rev is explicitly provided is, in fact, that peg-rev.  But
> that ain't what's happening.
>
> Is my recollection right (and the demonstrated behavior, therefore, wrong)?

I did not recall having a policy about the operative rev.  I would
assume those policies would have been established prior to the peg rev
support being added.  I thought the only policy was how we handled the
absence of a peg rev (once that feature had been added).

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 'svn plist' peg-rev buglet?

Posted by Malcolm Rowe <ma...@farside.org.uk>.
On Wed, Jan 09, 2008 at 06:00:37PM -0500, C. Michael Pilato wrote:
> My recollection is that our peg-rev policy states that the default 
> operative rev when a peg-rev is explicitly provided is, in fact, that 
> peg-rev.  But that ain't what's happening.
>
> Is my recollection right (and the demonstrated behavior, therefore, wrong)?
>

That's as I understand it too.  See svn_opt_resolve_revisions(), which
implements that algorithm (although normally you just call something
like svn_client__ra_session_from_path() which does it for you).

Regards,
Malcolm