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

Re: Checking out a list of files

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-03-09 15:08:59 CET

Andy Levy wrote:
> On 3/9/07, Stephen Nelson-Smith <sanelson@gmail.com> wrote:
>> Hello,
>>
>> I have a repository containing a bunch of documentation.
>>
>> I want a cron job to check out just the word documents every hour.
>>
>> Given that I can't check out at a file level, how can I get this to
>> happen?
>
> You could:
>
> A) Cherry-pick the files and svn export them
> B) Keep a full working, update it hourly, and then copy the files out
> of that into your destination directory
> C) Reorganize things so that all your Word docs are in their own
> isolated directoriy(ies) and just check out/update those

B is probably the easiest to automate at the expense of some disk space
somewhere. It would only require an 'svn update' and an rsync with
suitable arguments to copy the matching new files to their final
location. What's supposed to happen if someone has the old copy open
when an update happens, though?

-- 
   Les Mikesell
     lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 9 15:09:34 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.