[nycbug-talk] SVN question

Jonathan Vanasco nycbug-list
Fri Jan 20 19:57:14 EST 2006


easiest way is to make /etc a svn copy

$ su
# cd /
# svn co http://secure.svn.repo/configs/machine_id/etc etc_svn
# rm -rf etc && mv etc_svn etc
# exit

then you just

$ su
# svn up /etc

and all your files are updated


> On 1/20/06, Steve Rieger <riegersteve at gmail.com> wrote:
>> hi all, my mind is asleep and i cant figure this one out.
>>
>>
>> am wanting the following setup
>>
>> on server test1 /etc
>> import /etc into svn   
>> (repository)                                              (which  
>> runs locally)
>> modify files using svn locally (working copies)                  
>> (on my laptop)
>> when done modifying, will commit to repository,
>>
>> so far so good.
>>
>> now how can i tell repository to copy the files that i modified from
>> the repo back into /etc
>>
>> say i want to edit /etc/hosts i modify it on my laptop, commit the
>> change up to the repository, and then how would i get the modified
>> file in place in /etc




More information about the talk mailing list