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

Buglet in 'svn st'

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2002-10-22 07:06:01 CEST

When the path of a directory is printed in svn st, path is zero
length. Shouldn't it print out a '.'? It looks really funny with no
path printed at all--I'm wondering if this was a side-effect of
Philip's grand path canonicalization patch? Here's a quick repro recipe:

$ svnadmin create testrepos
$ ./svn co file:///`pwd`/testrepos testwc
Checked out revision 0.
$ cd testwc
$ touch somefile.c
$ svn add somefile.c
A somefile.c
$ svn ci -m "blah"
Adding somefile.c
Transmitting file data .
Committed revision 1.
$ svn ps svn:ignore '*.o' .
property `svn:ignore' set on ''
$ svn st
 M
$ svn st -v
 M 0 0 ?
                1 1 fitz somefile.c
$

Anyway, I could fix this in clients/cmdline/status.c, but I'm
wondering if libsvn_client is the more appropriate place? Anyway if
someone more familiar with the code can give me an idea, I'll commit a
fix and a test when I get a chance.

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 22 07:06:44 2002

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.