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

RE: Re: commit all but this one file

From: <nicklist_at_planet.nl>
Date: Thu, 3 Apr 2008 10:25:38 +0200

Thanks for the script. I only have one flaw. Normal subversion commit operation skips externals. Change line 15 of the script to:

svn status --ignore-externals "$@" | grep '^\(M\|A\|D\|R\)' >$TMPFILE

to recreate this behaviour.

Hth,

Nick S.

-----Original Message-----
From: Marc Haisenko [mailto:haisenko_at_comdasys.com]
Sent: Thu 4/3/2008 10:11
To: users_at_subversion.tigris.org
Subject: Re: commit all but this one file
 
On Thursday 03 April 2008, Colleen R. Dick wrote:
> I want to commit everything in the working copy except this ONE file
> that is highly dubious. Is there any way to do that.

I have written a small (dirty) script to do this (see attached file) on Linux.
It opens your configured editor and there you can remove all the filenames
you don't want to have committed. After saving, only the filenames that
remain are committed. Exit without saving to abort.
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
Received on 2008-04-03 10:27:54 CEST

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