[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: Grant Rettke <grettke_at_acm.org>
Date: 2006-09-18 16:15:14 CEST

Hi Troy,

I'm not sure that I completely understand your situation, so here is my
attempt at an answer.

If you are working from the command line, within a working copy, and you
start creating files within that directory, and then you type 'svn status'
you will see that all of the files have a '?' next to them. If you type
'svn commit' nothing will happen.

If you type 'svn add *' then they will be under version control and when
you type 'svn commit' they will get committed.

If you only want to commit a single type 'svn commit <filename>'.

If you want to ignore file so they don't show up in status you need to
edit the svn:ignore property on your directory.

Does sort of answer your question or am I too far off?

Quoting Troy Curtis Jr <troycurtisjr@gmail.com>:

> 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?
> 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
>
> --
> "Beware of spyware. If you can, use the Firefox browser." - USA Today
> Download now at http://getfirefox.com
> Registered Linux User #354814 ( http://counter.li.org/)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 18 16:16:08 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.