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

RE: svn commit: rev 2838 - trunk/subversion/libsvn_wc

From: Sander Striker <striker_at_apache.org>
Date: 2002-08-01 04:55:31 CEST

> From: striker@tigris.org [mailto:striker@tigris.org]
> Sent: 01 August 2002 04:31

> Author: striker
> Date: 2002-07-31 21:30:42 -0500 (Wed, 31 Jul 2002)
> New Revision: 2838
>
> Modified:
> trunk/subversion/libsvn_wc/status.c
> Log:
> * subversion/libsvn_wc/status.c
>
> (svn_wc_statuses): Fix an inconsistency. When doing a non-recursive
> gathering of statuses (svn st -vN for example), show both unversioned
> and versioned directory entries. The latter were missing.
> When DESCEND is FALSE do put the directory entry in the status hash,
> just don't descend into it.

A more lengthy explanation:

svn status didn't show directory entries that are versioned
when doing a non-recursive report.

$ svn st -vN
__ 2835 2835 blair .
_ 2835 1259 jerenkra ./BUGS
_ 2835 2667 kfogel ./CHANGES
_ 2835 2754 kfogel ./COMMITTERS
_ 2835 2567 blair ./COPYING
__ 2835 2804 kfogel ./HACKING
_ 2835 1 svn ./IDEAS
__ 2835 2730 striker ./INSTALL
_ 2835 2712 kfogel ./Makefile.in
_ 2835 2807 fitz ./PORTING
__ 2835 2676 sussman ./README
__ 2835 1904 joe ./autogen.sh
_ 2835 2789 fmatias ./build.conf
_ 2835 2678 cmpilato ./configure.in
__ 2835 2712 kfogel ./dist.sh
__ 2835 1806 sussman ./gen-make.py
_ 2835 1852 cmpilato ./subversion.dsp
_ 2835 2620 striker ./subversion.dsw
_ 2835 2624 kfogel ./svn-config.in
_ 2835 1 svn ./svn_check.dsp
_ 2835 1 svn ./svn_config.dsp
_ 2835 1599 kfogel ./svn_private_config.hw
_ 2835 2381 brane ./win-tests.py

$ ls -l | grep drwx
drwxr-xr-x 3 striker striker 1024 Aug 1 01:28 ac-helpers
drwxr-xr-x 26 striker striker 2048 Aug 1 01:30 apr
drwxr-xr-x 19 striker striker 1024 Aug 1 01:30 apr-util
drwxr-xr-x 4 striker striker 1024 Jul 17 11:32 build
drwxr-xr-x 6 striker striker 1024 Jun 19 10:51 doc
drwxr-xr-x 6 striker striker 1024 Aug 1 01:28 neon
drwxr-xr-x 7 striker striker 1024 Jun 25 11:47 notes
drwxr-xr-x 5 striker striker 1024 Jun 19 10:58 packages
drwxr-xr-x 21 striker striker 1024 Jul 3 16:11 subversion
drwxr-xr-x 11 striker striker 1024 Jun 19 10:51 tools
drwxr-xr-x 3 striker striker 1024 Jun 19 10:58 www

svn:ignore contains apr, apr-util and neon, so I'm not worried
about them not showing up. I've tried it in a directory with
unversioned directories, and they show up with a '?' in front
of them.

All tests succeeded with that patch in place, so I think we need
a new test which takes this into account. I kind of was expecting
failures with my patch in place ;)

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 1 04:46:04 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.