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

Usage for svn list

From: Tim Landscheidt <tim_at_tim-landscheidt.de>
Date: Tue, 26 Jan 2010 01:26:54 +0000

Hi,

I'm a bit baffled by the following behaviour on a small test
repository where in r2 the directory a and file a/b exist
and are deleted in HEAD/r4:

| [tim_at_passepartout ~]$ svn --version
| svn, version 1.6.6 (r40053)
| compiled Nov 8 2009, 13:09:20
| [...]
| [tim_at_passepartout ~]$ svn list file:///var/tmp/svn-repo
| [tim_at_passepartout ~]$ svn list -r r2 file:///var/tmp/svn-repo
| a/
| [tim_at_passepartout ~]$ svn list -r r2 file:///var/tmp/svn-repo/a
| svn: File not found: revision 4, path '/a'
| [tim_at_passepartout ~]$ svn list file:///var/tmp/svn-repo/a_at_r2
| b
| [tim_at_passepartout ~]$

"svn help list" shows "-r" as a valid option, but apparently
it is only honoured in a directory that is existent in HEAD
as well? Is there a way to express the '-r {DATE}' syntax
with the "@" suffix? "@{2009-01-01}" seems to be ignored:

| [tim_at_passepartout ~]$ svn list 'file:///var/tmp/svn-repo/a@{2009-01-26}'
| svn: URL 'file:///var/tmp/svn-repo/a' non-existent in that revision
| [tim_at_passepartout ~]$

TIA,
Tim
Received on 2010-01-26 02:27:58 CET

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