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

Re: [PATCH][v3] Sticky depths should work for an excluded dir

From: Kannan <kannanr_at_collab.net>
Date: Fri, 08 Jan 2010 12:41:30 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kannan wrote:
[..]
> Thank you Philip/Bert for the feedback. Attaching an updated patch
> herewith as per Bert's comments.
>

Tweaking the log message.

> [[[
> Log:
> Make `--set-depth (empty|files|immediates) DIR' work, where DIR's depth
> had already been set as `exclude'. Only `infinity' works as of now.
> Adding a test for the same.
>
> * subversion/libsvn_wc/crop.c
> (svn_wc_crop_tree2): Check the 'base status' of the node here and
> remove the check done using `svn_wc__db_node_hidden()' as it
> marks a node as 'hidden' if status is set as
> `svn_wc__db_status_excluded'.
>
> * subversion/libsvn_wc/update_editor.c
> (complete_directory): Call `svn_wc__set_depth' with the requested
> depth rather than `infinity' by default.
>
> * subversion/tests/cmdline/depth_tests.py
> (update_excluded_path_sticky_depths): New test.
>
> (info_excluded): Remove the locally imported module `re' and make it
> globally available.

    (test_list): Add `update_excluded_path_sticky_depths'.

> Suggested by: rhuijben
> Patch by: Kannan R <kannanr_at_collab.net>
> ]]]
>

- --
Thanks & Regards,
Kannan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBS0baoXlTqcY7ytmIAQIZ4Qf9E1d4+tbJdwIMrDJo9nJimEt2eDUzuBz8
wsDSOwkMezJ8ifl5pRBkV8l3hEhLNR/RGMflt8pd6jZRW2BLP10hZu2De2SW2jzp
ffmUgIVNnBBA/2IfHEESvdgwsmD89kH4fiL9WKtWrqY+7yWhb4p9hWpVWoCqigYw
VWbolL14Y8FYTN735Nu0hsRSbJccpagdnN/bG67if6RWDQdM+7Qw+Dqpm4zp6mRI
ulpN2XdFq/syeDdpPju+z0LUWwGAijsoLdPZLyiBnDHaTwT3ldtzU8wxIZFjVfve
qits36n56rBD05yGl9mZqzN/oFjcdKSyrAoqdD+FVlpK9en7/ahuCA==
=7gNW
-----END PGP SIGNATURE-----
Received on 2010-01-08 08:18:28 CET

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.