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

Bogus revision switches for svn checkout?

From: Andrew R Feller <afelle1_at_lsu.edu>
Date: 2007-02-16 17:24:49 CET

Hello everyone,

 

Although svn help checkout specifies that alternate revision switches
such as PREV, BASE, and COMMITTED can be used, SVN complains that they
are bogus revision options. The Subversion book's entry on svn checkout
(http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.checkout.html)
doesn't mention the alternate revision switches. How do these work? I
am currently using the Subversion 1.4.2 command-line client.

 

SVN Help usage information

 

[afelle1@uisrcs001 tmp]$ svn help checkout

checkout (co): Check out a working copy from a repository.

usage: checkout URL[@REV]... [PATH]

 

  If specified, REV determines in which revision the URL is first

  looked up.

 

  If PATH is omitted, the basename of the URL will be used as

  the destination. If multiple URLs are given each will be checked

  out into a sub-directory of PATH, with the name of the sub-directory

  being the basename of the URL.

 

Valid options:

  -r [--revision] arg : ARG (some commands also take ARG1:ARG2
range)

                             A revision argument can be one of:

                                NUMBER revision number

                                '{' DATE '}' revision at start of the
date

                                'HEAD' latest in repository

                                'BASE' base rev of item's working
copy

                                'COMMITTED' last commit at or before
BASE

                                'PREV' revision just before
COMMITTED

 

Failed SVN checkout commands

 

[afelle1@uisrcs001 tmp]$ svn checkout -r 'COMMITTED'
file:///home/afelle1/repos/cobol_svn committed

svn: Bogus revision information given

[afelle1@uisrcs001 tmp]$ svn checkout -r 'BASE'
file:///home/afelle1/repos/cobol_svn base

svn: Bogus revision information given

[afelle1@uisrcs001 tmp]$ svn checkout -r 'PREV'
file:///home/afelle1/repos/cobol_svn previous

svn: Bogus revision information given

 

Thank you for any assistance,

Andrew

 

Andrew R Feller, Analyst

University Information Systems

Louisiana State University

afelle1@lsu.edu

(office) 225.578.3737

 
Received on Fri Feb 16 17:25:16 2007

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.