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

incremental checkout (#695)

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2003-06-27 11:42:26 CEST


for my incremental cvs->svn by vcp to work with large repository,
it requires partial co'ed working copy to be able to checkout
other parts of the same repository.

So I was looking at #695 and tried to implement a variant of
the 2nd use case described in #695:

# svn co http://server/path/to/dir/subdir
Add '<entry name="subdir" kind="dir"/>' to .svn/entries in current dir.

I was thinking about the following:

# svn co http://server/path/to/dir/subdir path/to/wc/subdir

1. if the target directory does not exist,
2. iterate over the parents of the url and path,
3. if the parent of path we are checking is a wc and has the
   same url as the corresponding parent of url,
4. call svn_wc_putback_dir to put the hierarchy under the
   putback_root, and have client_update to fix everything else.

Is this behaviour reasonable?

I've already had a buggy svn_wc_putback_dir that adds the wc entry
in the parent and this-dir entry in the target. but svn_client_update
doesn't update it, it got cleaned up instead. maybe someone could
also hint me what magic I should spell for the wc_entry?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 27 11:43:17 2003

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.