You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stephen Nelson-Smith <sa...@gmail.com> on 2007/03/09 10:21:33 UTC

Checking out a list of files

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?

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Checking out a list of files

Posted by Les Mikesell <le...@gmail.com>.
Andy Levy wrote:
> On 3/9/07, Stephen Nelson-Smith <sa...@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

Re: Checking out a list of files

Posted by Andy Levy <an...@gmail.com>.
On 3/9/07, Stephen Nelson-Smith <sa...@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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org