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

Re: RE: [PATCH]svn_wc__find_wc_root

From: HuiHuang <yellow.flying_at_yahoo.com.cn>
Date: Wed, 24 Jun 2009 14:19:38 +0800

Hey Bert,

Thanks for your useful information, and I have some problems...

>Another useful addition would be what this function considers to be a
>working copy root. The WC library uses many concepts for what a working copy
>root might be.

>* A path with a different url than the parent directory ( = +-
>svn_wc_is_root() (Used by update))
here svn_wc_is_root(), I do not find it, maybe you mean svn_wc_is_wc_root()?
But I see docstring of svn_wc_is_wc_root() is a little different from what you
'@a path is a "working copy root" if its parent
 * directory is not a WC or if its parent directory's repository URL is not
 * the parent of its own repository URL.'

>* The shortest path of a given path containing the same working copy (= +-
>svn_wc__strictly_is_wc_root() (tree conflicts))
>* The top level parent of a paths working copy (using absolute path
>internally). (WC-NG).
here I am not very clear of the two, in which case 'the shortest path...' is not
'The top level parent...'? can you explain them detailly?
>This last version will probably be the directory containing the WC-NG

>For future reference it would also be nice if the function documents how it
>behaves on non-absolute paths.

Good Luck~



Received on 2009-06-24 08:20:03 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.