[TxMt] Automated way to keep SVN repository in sync with local files?

Peter Vohmann pvohmann at mac.com
Sat Feb 25 17:46:55 UTC 2006


Hi Trevor,

Am 25.02.2006 um 18:27 schrieb Trevor Harmon:

>> How do you guys deal with the situation I described where the time  
>> comes when you need to move files around, rename stuff, combine  
>> some files, delete no longer used files etc. ?  How the heck do  
>> you guys keep your svn in sync?
>
> I just do it manually from the command line.

This is absolutely the way to work with svn. svn mv X, svn cp X Y,  
svn rm Z. It starts at the command line. Check the results, only then  
check in.

And I'd never want it automatically commit, nor automagically update.
"svn up", "svn ci", that's at hard as it gets, and it should be a  
concious act.

> And if I want to see what files I need to add, I just do "svn  
> status" and look for question marks. (The svn:ignore property can  
> help if you find yourself distracted by persistent working copy  
> files that don't belong in the repo.)

Pray tell me, how do you set the svn:ignore property to exclude,
say, all *.o files in a directory tree?

AFAIK this is stored with the repository, which of course is a good  
thing,
so that your team mates won't accidentally check in things
that don't belong in _that_ specific place of the repository,
while *.o files may make perfect sense in your release database.

Oh, and sorry for turning TextMate into an svn forum. It shouldn't  
take long.

Regards,
Peter Vohmann




More information about the textmate mailing list