[TxMt] SVN?

s.ross cwdinfo at gmail.com
Thu Mar 29 20:44:49 UTC 2007


Are you committing things to SVN, copying to a Web server, and *only  
then* discovering a missing semicolon? Many developers use a process  
like this:

- checkout
- modify
- test
- checkin
- prop

If you do the "test" part, the "ok, crap I forgot the semicolon"  
comments won't crop up as much.

:)

On Mar 29, 2007, at 1:31 PM, Rob McBroom wrote:

> On Mar 29, 2007, at 3:50 PM, James Edward Gray II wrote:
>
>> On Mar 29, 2007, at 2:32 PM, Rob McBroom wrote:
>>
>>> Most of the changes you make are small and stupid and not worth  
>>> committing.
>>
>> I strongly disagree with that.
>
> OK, maybe I shouldn't have used such a broad statement. But even if  
> it's "very few" instead of "most", what I said still applies.
>
>> The more you get into version control, the more you learn that  
>> those smaller changes are exactly what you want.  You want to get  
>> it down to where each commit does just one thing, whether that's  
>> adding a new feature, fixing a bug, or just some copyediting.
>
> Sure, and that's how I try to use it. But I wouldn't want to have  
> to commit things just to get them over to a web server. If I did,  
> there would be all kinds of commits with comments like "forgot a  
> semicolon at the end of this line" or ten commits in a row saying  
> things like "tweaking the spacing above and below H2 tags".  
> Adjusting the spacing around a tag or setting something's color is  
> a single "change" that only needs to be committed once in my  
> opinion, but it might have involved dozens of trail-and-error  
> updates to the file on disk.
>
> Bottom line: Subversion is great for version control and crappy for  
> "file transfer" or "remote editing", which is what the original  
> question was about. Using it for other purposes would be a  
> perversion of Subversion. :)
>
> On an unrelated note, I'm going through the book now and have  
> picked up a lot of good stuff.
>
> ---
> Rob McBroom
> <http://www.skurfer.com/>
> I didn't "switch" to Apple... my OS did.
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list