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

text that pops up in your $EDITOR

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2002-01-23 10:45:08 CET

I have another question for you people!

Let's assume we invoke 'svn commit [files]' and an editor pops up for you to
fill in your commit message.

In the old CVS days, all text lines that start with CVS: are filtered off
when the message is uses, and thus all sorts of info can be shown on those
lines. If we removed, added and changed files, they would appear in a style
similar to this:

CVS: Modified files:
CVS: file1 file2 file3
CVS:
CVS: Removed files:
CVS: file4 file5
CVS:
CVS: Added files:
CVS: file6 file7

As we have a much more complex situation in Subversion, with more changes
being detected and even changes on contents or properties being separate, I
have this suggestion:

We include the 'svn status [target]' output in the buffer, only prefixed with
SVN:

It would instead make a buffer that looks a bit like this:

SVN: Status report on the targets just about to get committed:
SVN:
SVN: M ./file1
SVN: M ./file2
SVN: M ./file3
SVN: D ./file4
SVN: D ./file5
SVN: A ./file6
SVN: A ./file7

It isn't quite as human readable as the CVS version, but I like the
simplivity in re-using the same output format to describe which "status" you
want to commit.

I'm all ears. What do you think?

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:58 2006

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

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