[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit usage survey

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-09-18 14:36:39 CEST

On 9/18/2006 1:17 AM, Troy Curtis Jr wrote:
> I am in the process of writing a wrapper script for 'svn commit' that
> will allow me to delete paths from the log message that I do not want
> to commit. I got the idea of this functionality from SVK and
> immediately saw the usefulness. Several ":q!", <answer "a" to abort
> questions> later I decided that I HAD to have that functionality.
>
> My questions to the list are:
>
> How do you typically use 'svn commit' when you have some files you do
> not want in the commit?

In a case like that I'd almost certainly use TortoiseSVN. It lists all
the files that it will commit, and allows you to uncheck those which you
don't want to commit. (There are various convenient ways to select what
goes in that list in the first place, too.)

It sounds as though you're not using Windows, but I'd suggest taking a
look at a Windows machine running tsvn before writing your own script:
they've done a really good job on the user interface.

And if you *are* using Windows, then use TortoiseSVN, don't waste time
writing a script to do what it does.

Duncan Murdoch

> Do you often run into an issue where you have one file that you do not
> want to commit, directly beside several that you do?
> Is the only option in this case manually specifying every file you
> *do* want to include in the commit? Or am I missing something?
>
> It seems to me that this would be a common occurrence and so it really
> surprises me that a similar wrapper script has not already been
> written. But perhaps I am using Subversion in an atypical manner?
>
> What are your thoughts?
> Troy
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 18 14:37:16 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.