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

Re: Support for partial checkins?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-06-08 11:32:37 CEST

Rick Mann wrote:
>
> Well, right now, if I type "svn commit", vi gets invoked and displays
> something like this (the =='s bars represent the terminal window):
>
> ===================================================================
> --This line, and those below, will be ignored--
>
> M fo/web/WEB-INF/config/struts-config.xml
> M fo/web/WEB-INF/config/tiles-definitions.xml
> ~
> ~
> ~
> ===================================================================
>
> Instead of saying "--This line, and those below, will be ignored--",
> it could say "Files:". Then, if add a comment, and cursor down to one
> of the lines, and delete it so that I have something like this:
>
>
> ===================================================================
> Demo of partical checkin.
> --This line, and those below, will be ignored--
>
> M fo/web/WEB-INF/config/struts-config.xml
> ~
> ~
> ~
> ~
> ===================================================================
>
> and then <esc>-:-w-q-<ret>, I'm done. vi closes, and svn commit
> outputs something like:
>
>
> ===================================================================
> aero:~/Spyglass/svn/code/trunk/fo rmann$ svn commit
> [vi editor session happened in here]
> Sending fo/web/WEB-INF/config/struts-config.xml
> Transmitting file data ..
> Committed revision 6.
> aero:~/Spyglass/svn/code/trunk/fo rmann$
> ===================================================================
>
>
> Note that it only sent struts-config.xml, not both files originally
> shown in the commit edit.

It's an interesting and potentially quite useful idea.

I recommend taking it to the dev@ list, and trying to sort out the design
issues - for example: what should Subversion do if the list of files has
been modified in ways other than simple deletion of lines - eg, has been
deleted entirely, or totally scrambled.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 8 11:35:19 2005

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.