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

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

From: Kannan <kannanr_at_collab.net>
Date: Wed, 30 Dec 2009 11:45:25 +0530

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

Tweaking the log message.

I (Kannan) wrote:
> Attached herewith is the updated/corrected patch to perform the earlier
> proposed functionality.
>
> [[[
> 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.

  [ in 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'.
>
> * update_editor.c
> (complete_directory): Call `svn_wc__set_depth' with the requested
> depth rather than `infinity' by default.
>
> * entries.c
> (svn_wc__set_depth): Set the entry's depth to the requested one rather
> than `infinity' by default if the depth is not `exclude'.
>
> * wc_db.c
> (svn_wc__db_temp_op_dir_set_depth): Remove the code which sets the
> depth as `infinity' if the depth is not `exclude'.
>
> 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/

iQEVAwUBSzrv/XlTqcY7ytmIAQKRIQf9F7AwwVgJASvF7n7sirhZ0YzTkA+DkDrq
J15kHzyiu8seSbHMwtXu0C2EazLM2V8UC6oHUxg0OxuLxS2NmB3XDAjfW9y3NmAU
yspgpKgdLc32DiNcGmEjsSCLY7nFOplHuZPrcoj5Zq8vaPp9dgZCb1VfmQKiwrka
SRfYc7tKu5m0miLn8i5+YXVR1Fi8rcETCDK1yIFbpOuWkK9hKKboEc19OnbkBOiJ
J8fGh2M1D4jmUawrDM9UgWrE/SZKgLkMJo7pPvOlrbqjoK9Jrmw+sTr/EeaVSlSd
pJqhQVDUn3oMaZ9UmheixAC1+1K7fEmnstFUmQ0Ww9tKbR1/cQzojw==
=qWRh
-----END PGP SIGNATURE-----
Received on 2009-12-30 07:21:18 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.