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

Re: [PATCH] Was: Enhancement needed in svn status -u

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-09-22 16:52:08 CEST

I do not wish to be a pest, but no one acknowledged my last posting (and I
also realized that it did not include the patch).

Can someone find the time to review this patch? We really need it in
Subclipse via JavaHL. It is purely an internal API change, but it would
allow JavaHL to be enhanced to return this much needed information to

This thread provides more background and context:




Paul Burba/SoftLanding Systems wrote on 08/22/2005 06:08:56 PM:

> In response to this thread:
> http://svn.haxx.se/dev/archive-2005-08/0257.shtml, here is my first
> attempt at a patch to provide more detailed out of date information in
> svn_wc_status2_t when using the -u option with svn status.
> If anyone has some time to take a look at this I'd appreciate it.
> One known problem with the patch: It doesn't pick up the last committed
> author and date for a WC item that has been deleted in the repository.
> anyone has suggestions on this front I'd love to hear them.
> Thanks,
> Paul B.
> [[[
> Provide more complete server-side information about out of date items
> using svn status with -u option.
> * subversion/include/svn_wc.h
> (svn_wc_status2_t): Add new fields to store the most recent revision,
> author,
> and commit date for an out of date item, as well as its url and node
> type.
> * subversion/libsvn_repos/reporter.c
> (delta_dirs): Pass s_rev to b->editor->delete_entry so it has the last
> committed rev of the deleted item.
> * subversion/libsvn_wc/status.c
> include svn_time.h
> (dir_baton, file_baton): Add new fields mirroring those in
> svn_wc_status2_t.
> (assemble_status): Initialize new svn_wc_status2_t members.
> (make_dir_baton): Initialize new dir_baton members.
> (make_file_baton): Initialize new file_baton members.
> (copy_ood_info): New helper function.
> (delete_entry): Store readily available out of date info in
> svn_wc_status2_t structure in db->statii.
> (change_dir_prop, change_file_prop): Temporarily store out of date
> in
> dir_baton or file_baton respectively.
> (close_directory, close_file): If item is out of date, copy ood info
> from
> dir_baton or file_baton respectively to the appropriate
> svn_wc_status2_t
> structure in dir/file_baton->parent_baton->statii.
> ]]]

Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.

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

Received on Thu Sep 22 16:53:18 2005

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.