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

[PATCH] Sticky depths should work for an excluded dir

From: Kannan <kannanr_at_collab.net>
Date: Mon, 21 Dec 2009 23:00:14 +0530

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

Hi,

As of now, after excluding a DIR using `--set-depth', for eg, `svn up
- --set-depth=exclude foo', its possible to redefine foo's depth only as
infinity and not as (empty|files|immediates). Attached herewith is the
patch to enable the same.

[[[
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'.

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/

iQEVAwUBSy+wpnlTqcY7ytmIAQKYcgf+I6w/YLdNGVmZT+8XPFARQZtPR16keFoo
21QuyEvW354bbvcl7v91oT5mO6yFj6CD60wHcWOBR5fbDPIC7LWpfoJjnZo1KR5a
MeQoea8pFJNWNh0vcQzyXpuFA7pE1gMQInx5x9zpX4AfsNbWssPfax/ytQJae0Sk
TF/U5gHVt+lZza8v5ca6rkR5eWTQecCtnWdR1kspOHH4aAVeYjpeaQ4eRq6BhFFW
Ysozq/z2svLcYWQcvUoQVEjyT/+1JXSb9yftchtNtmVD1mGy+jlhPwvg+mBURcAo
ctLTmgkTwWnx1oyg1CHTxNGElpndCKv3RBhFBams9HcbOufKXXqE7g==
=8dKL
-----END PGP SIGNATURE-----

Received on 2009-12-21 18:34:59 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.