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

about lock

From: HuiHuang <yellow.flying_at_yahoo.com.cn>
Date: Mon, 29 Jun 2009 16:14:10 +0800

Hey,

I find the following comment in svn_types.h:

  /* The order of these depths is important: the higher the number,
     the deeper it descends. This allows us to compare two depths
     numerically to decide which should govern. */

But in function svn_client_commit4() the levels_to_lock is svn_depth_exclude( =-1)
when locking recursively while the levels_to_lock is svn_depth_empty( =0) when
locking non-recursively. Is not it deeper when locking recursively? But why its
levels_to_lock is smaller than when locking non-recursively.

I am a little confused here:(

Thanks~

Huihuang
                                 
--------------
yellow.flying
2009-06-29

__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2366267
Received on 2009-06-29 10:15:04 CEST

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.