Hi,
If you want to check out a single file 'because there's no local copy', that
probably means that you have somewhere a directory full of local copies of
files which are all in the same directory on the server.
What it means in subversion terms, is that you actually checked out this
directory, and all files in it. Then there are no missing files in your
local directory. If a new file is added on the host, and you need it, then
you do an 'svn up' to update with latest changes.
This way there is no need to check out individual files before you can work
on them.
--Tim
-----Original Message-----
From: Steven Knight [mailto:knight@baldmt.com]
Sent: zaterdag 22 maart 2003 22:44
To: dev@subversion.tigris.org
Subject: integrating Subversion with a build tool?
Hi. I'm the project leader for SCons (http://www.scons.org/), a
Python-based build tool with a number of cool features.
I'm going to be rolling out our next version soon (I hope this week)
with support for fetching files from a number of source code management
systems, including SCCS, RCS, BitKeeper, CVS and Perforce. I'm hoping
to also support Subversion, but I'm runnning up against the apparent
design decision to only support checkouts of entire directories, not
individual files.
GNU Make (et al.) supports a widely-used automatic ability to check out
individual source files from SCCS and RCS if a local copy file doesn't
already exist. I've implemented a similar feature in SCons, extending
it to also support BitKeeper and CVS.
The best idea I've been able to come up with for Subversion is to use
"svn cat" to redirect the current contents to the local file. This
works, but it's still kind of a lose because it's not a real checkout.
People wouldn't be able to then work with the file(s) and check them in
like they're used to with other source code systems.
Of course, I've only used Subversion enough for my own testing purposes,
so I'm probably overlooking some other bright way to do this. Are
there any other build tools out there that support automagic Subversion
checkouts? Can anyone give me any good ideas for other ways I can
support this in a way that's more natural for Subversion's design?
I'm not on the Subversion list, so please keep me CC:ed on any replies.
Thanks!
--SK
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 23 18:18:44 2003