[TxMt] Automated way to keep SVN repository in sync with local files?
b.gagnon at gmail.com
Sat Feb 25 15:07:12 UTC 2006
On Feb 25, 2006, at 3:55 AM, Eric Coleman wrote:
> Not to hijack the thread or anything, but the way you formatted
> your email, did you do that on your own? I.e. the links.
> I've noticed more and more people with emails like that (from other
> places too) and I was curious if you are automating it, or if your
> just doing it by hand.
Oh, this is all manual work :) I got inspired by the Markdown syntax,
DaringFireball website and other messages from this very list, but I
believe it is a pretty common practice. I think it's a great
presentational technique both for the writer and the reader. I will
generally put all the [x] marks in the text as I write, then go on a
quest to actually fetch the URLs for those links. That way I don't
have to read again to see where I could fit them. As for the reader,
she will usually read the entire email before clicking any link that
would open a new window, change apps, etc. Having URLs at the very
end of the message makes perfect sense in this context.
> (Im referring to ben and his  marks)
> Eric Coleman
> On Feb 25, 2006, at 2:04 AM, Benoit Gagnon wrote:
>> On Feb 25, 2006, at 1:17 AM, Ned Baldessin wrote:
>>> (Slightly hijacking the thread, and slightly off topic, sorry)
>>> Can anyone point me to a definitive source for using SVN in web
>>> projects ?
>>> I've tried it on my own several times and with a second developer
>>> once, but I still haven't found a good workflow or method.
>>> This article is interesting, but too vague :
>>> How do you guys handle SVN, and how have you integrated it in TM ?
>>> My latest idea: using the auto-commit on save when you mount a
>>> repository as a drive.
>> Using WebDAV auto-commit is a good idea if you work only on static
>> content, where the commit message and diff would give pretty much
>> the same information anyway.
>> If you are developing web applications, however, I strongly
>> recommend you do it the Right Way™. That is, set up a fully
>> independent, development server on your machine. If, like me, you
>> don't like the idea of messing around and installing low level
>> stuff on your OS X box, have a look a "one click" solutions. For
>> Rails, Locomotive  is excellent. For PHP/MySQL/Apache, I use
>> xampp .
>> You can have the SVN repository either on your machine or on the
>> server. I use the second option so I can make quick changes from
>> other machines. Either way, backup the entire svn repos using
>> svndump on the second machine. You can use incremental backups if
>> your repository is really big.
>> When you work on the source, it's a good practice to commit your
>> changes in small chunks. One commit per modification is ideal.
>> More than one file can be modified, but try to commit the changes
>> on a "feature" basis. You'll appreciate this extra work when
>> you'll have different branches and want to merge, rollback or
>> combine changesets without having to do it on a file by file basis.
>> One last thing. If you use Rails, here's something I discovered
>> after a while: it's so quick easy to modify an application in
>> Rails... I often forget to commit my changes regularly ! Then I
>> end up with 20 modified files, related to around 4 different
>> "iterations". Log messages can get tedious when such things happen.
>> I've used this setup with PHP applications, LaTeX, C++ projects,
>> and now using it for a Rails application.
>>  http://locomotive.raaum.org/home/show/HomePage
>>  http://www.apachefriends.org/en/xampp-macosx.html
>>> 2006/2/25, Chris Thomas <chris at cjack.com>:
>>>>> This might be a dumb question, but is there ANY elegant solution
>>>>> for keeping my Subversion repository in sync with my local files
>>>>> *including* adding files, deleting files, renaming files?
>>>> Something like this script might help with adds and deletes, but
>>>> won't handle moves or renames:
>>>> For new threads USE THIS: textmate at lists.macromates.com
>>>> (threading gets destroyed and the universe will collapse if you
>>> For new threads USE THIS: textmate at lists.macromates.com
>>> (threading gets destroyed and the universe will collapse if you
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate