[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: Tue, 29 Dec 2009 18:44:13 +0530

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

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.

* 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/

iQEVAwUBSzoApHlTqcY7ytmIAQJAoAf/fA5eU8enaTiY8g8kX1PPxSFYl6hqldNX
2AcX7BFD3O8vJ8EtTNqJeauFWdL0Cdw/iPJGbSvDUeKPh1FeEZPz397xUnVdCTFT
cPDJOZwS6PN1rf+74lOAzf6zHOutM/gllEjq0Pv+06O/F7ENxjshZur7NdxL5TqV
6PLKL4//jNKXJITyLddbj/IJV0P61B5DYVuCl8Jjj1+z/l4x1qqEFefTOT+W28CD
j8kjRYnBbVal6fRRTi2/SFtdFaU/62JDrgLMV8njCqERBXOsYxlhG23ocEEYFeVx
/uMnMlPoV090EnvRg3VBj1GJ88vlCqbpM/F1J92RrTaTYQYGJWG/vQ==
=dPp+
-----END PGP SIGNATURE-----

Received on 2009-12-29 14:20:01 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.