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

Re: [PATCH] Remove note about issue 2843

From: Neels Janosch Hofmeyr <neels_at_elego.de>
Date: Wed, 04 Nov 2009 12:58:43 +0100

Daniel Näslund wrote:
> Doing an aimlessly stroll in the notes section I found this.
>
> [[[
> Remove note about issue #2843 not being fully implemented.
>
> * subversion/notes/sparse-directories.txt
> See above.
> ]]]
>
> /Daniel

Thanks, committed in r40372.

I tweaked it a bit:
 - Made the indenting match the examples just above this block.
 - Removed trailing spaces.
 - Simpler log message.

stsp told me you're one of us vim guerillas :)
Just in case you didn't know, this is how I removed trailing spaces and #
characters:

<mark the section with Shift-V (visual line)>
:'<,'>s/[ #]*$

(just type :s/[ #]*$ )

And I do hope you know the indenting commands
 '<<' to indent a single line to the left,
 '>>' likewise to the right, and also
 mark-visual-block + '<', then '.' to indent more,
 mark-visual-block + '>', then '.' to indent more.

...and these lines in your .vimrc do the subversion style indenting
(stolen/tweaked):

set ts=4 sw=2 expandtab tw=78 fo=tcroq cindent
set isk=a-z,A-Z,48-57,_
set cino=>2s,e0,n-2,f0,{1s,}0,^-1s,=1s,t0,+2s,c3,(0,u0,\ 0
set textwidth=76

I like to put them in a different file and :source that file when I'm
hacking svn.

Hey, I'm getting carried away... [stops]
~Neels

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2414382

Received on 2009-11-04 12:59:21 CET

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