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

Re: integrating Subversion with a build tool?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-03-23 21:56:09 CET

Steven Knight <knight@baldmt.com> writes:

> -- If I detect that a file is needed and there's no directory,
> or the directory is completely empty, checkout the directory
> with "svn co -N".

1. "svn checkout -N" is broken, there is an issue about it.
2. Where do you get the URL?
3. Which revision do you use? What happens if the file (or it's
   parent directory) has been deleted or moved in HEAD?

> -- If I detect that a file is needed and there's already a .svn in
> the directory, then update the directory with "svn up -N".

There was a recent report that this didn't work either. On the other
hand 'svn up file' should work. Again you might have problems if the
file has been deleted or moved in HEAD.

> -- If I detect that a file is needed, and there is no .svn in the
> directory, but there are other files in the directory, then
> don't do anything (probably with an accompanying warning).
>
> Does that sound like it would cover what users might expect of a build
> tool automatically checking out things from Subversion?

I don't expect my build tool to automatically check things out from
Subversion :)

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 23 21:56:49 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.