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

RE: [PATCH] Add svn_wc_status_obstructed

From: Sander Striker <striker_at_apache.org>
Date: 2002-08-09 00:36:54 CEST

Hi,

I think I've covered everything with this patch to add
a new status code: svn_wc_status_obstructed.

All tests pass, but I'd like someone to review this
since it redefines STRICT (which wasn't doing anything
before AFAICT).

Sander

* subversion/include/svn_wc.h

  (svn_wc_status_obstructed): new status code. This status is returned
    whenever a resource is encountered that is different in kind than
    expected (as recorded in the entry).

  (svn_wc_statuses): Update comments to match the code.

* subversion/libsvn_wc/status.c

  (assemble_status): Add functionality to detect an obstructed resource.
    Redefine what STRICT does (since it wasn't doing anything).

  (svn_wc_statuses): When getting the status on a directory and
    the entry can't be obtained via the full path of that directory,
    simply pass the incomplete entry to assemble_status.
    Only descend into subdirectories if the subdirectory is a
    working copy directory.

subversion/clients/cmdline/status.c

  (svn_cl__generate_status_codes): Add a new moniker for the 'obstructed'
    status.

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

Received on Fri Aug 9 00:27:01 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.