[PATCH] Remove note about issue 2843

View: New views
3 Messages — Rating Filter:   Alert me  

[PATCH] Remove note about issue 2843

by Daniel Näslund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

[notes_2843.diff]

Index: notes/sparse-directories.txt
===================================================================
--- notes/sparse-directories.txt (revision 40356)
+++ notes/sparse-directories.txt (arbetskopia)
@@ -206,65 +206,55 @@
                                        ...
        ...
 
-   ########################################################################
-   #                                                                      #
-   #     ############################################################     #
-   #     ###                                                      ###     #
-   #     ###  THIS IS NOT YET FULLY IMPLEMENTED, SEE ISSUE #2843  ###     #
-   #     ###                                                      ###     #
-   #     ############################################################     #
-   #                                                                      #
-   # svn up --set-depth=empty Awc/B/E                                     #
-   #                                                                      #
-   #     Remove everything under E, but leave E as an empty directory     #
-   #     since B is depth-infinity.                                       #
-   #                                                                      #
-   #     Awc/.svn/entries                this_dir    depth-infinity       #
-   #                                     B                                #
-   #                                     D                                #
-   #     Awc/B/.svn/entries              this_dir    depth-infinity       #
-   #                                     ...                              #
-   #     Awc/B/E/.svn/entries            this_dir    depth-empty          #
-   #     ...                                                              #
-   #                                                                      #
-   # svn up --set-depth=empty Awc/D                                       #
-   #                                                                      #
-   #     Remove everything under D, and D itself since A is depth-empty.  #
-   #                                                                      #
-   #     Awc/.svn/entries                this_dir    depth-empty          #
-   #                                     B                                #
-   #                                                                      #
-   # svn up Awc/D                                                         #
-   #                                                                      #
-   #     Bring D back at depth-infinity.                                  #
-   #                                                                      #
-   #     Awc/.svn/entries                this_dir    depth-empty          #
-   #                                     ...                              #
-   #     Awc/D/.svn/entries              this_dir    depth-infinity       #
-   #                                     ...                              #
-   #     ...                                                              #
-   #                                                                      #
-   # svn up --set-depth=immediates Awc                                    #
-   #                                                                      #
-   #     Bring in everything that's missing (C/ and mu) and empty all     #
-   #     subdirectories (and set their this_dir to depth-empty).          #
-   #                                                                      #
-   #     Awc/.svn/entries                this_dir    depth-immediates     #
-   #                                     B                                #
-   #                                     C                                #
-   #     Awc/B/.svn/entries              this_dir    depth-empty          #
-   #     Awc/C/.svn/entries              this_dir    depth-empty          #
-   #     ...                                                              #
-   #                                                                      #
-   # svn up --set-depth=files Awc                                         #
-   #                                                                      #
-   #     Remove every subdirectories under Awc. but leave the files.      #
-   #                                                                      #
-   #     Awc/.svn/entries                this_dir    depth-files          #
-   #                                                                      #
-   ########################################################################
+     svn up --set-depth=empty Awc/B/E                                      
+                                                                          
+         Remove everything under E, but leave E as an empty directory      
+         since B is depth-infinity.                                        
+                                                                          
+         Awc/.svn/entries                this_dir    depth-infinity        
+                                         B                                
+                                         D                                
+         Awc/B/.svn/entries              this_dir    depth-infinity        
+                                         ...                              
+         Awc/B/E/.svn/entries            this_dir    depth-empty          
+         ...                                                              
+                                                                          
+     svn up --set-depth=empty Awc/D                                        
+                                                                          
+         Remove everything under D, and D itself since A is depth-empty.  
+                                                                          
+         Awc/.svn/entries                this_dir    depth-empty          
+                                         B                                
+                                                                          
+     svn up Awc/D                                                          
+                                                                          
+         Bring D back at depth-infinity.                                  
+                                                                          
+         Awc/.svn/entries                this_dir    depth-empty          
+                                         ...                              
+         Awc/D/.svn/entries              this_dir    depth-infinity        
+                                         ...                              
+         ...                                                              
+                                                                          
+     svn up --set-depth=immediates Awc                                    
+                                                                          
+         Bring in everything that's missing (C/ and mu) and empty all      
+         subdirectories (and set their this_dir to depth-empty).          
+                                                                          
+         Awc/.svn/entries                this_dir    depth-immediates      
+                                         B                                
+                                         C                                
+         Awc/B/.svn/entries              this_dir    depth-empty          
+         Awc/C/.svn/entries              this_dir    depth-empty          
+         ...                                                              
+                                                                          
+     svn up --set-depth=files Awc                                          
+                                                                          
+         Remove every subdirectories under Awc. but leave the files.      
+                                                                          
+         Awc/.svn/entries                this_dir    depth-files          
+                                                                          
 
-
 4. Implementation Strategy
 ==========================
   


Re: [PATCH] Remove note about issue 2843

by Neels Janosch Hofmeyr-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

signature.asc (205 bytes) Download Attachment

Re: [PATCH] Remove note about issue 2843

by Daniel Näslund :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 04, 2009 at 12:58:43PM +0100, Neels Janosch Hofmeyr wrote:
> > [[[
> > Remove note about issue #2843 not being fully implemented.
> >
> > * subversion/notes/sparse-directories.txt
> >   See above.
> > ]]]

> 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.

Doh, for the trailing spaces. Sorry about the indenting.
 
> stsp told me you're one of us vim guerillas :)

Yep, I fell for that ol' 'Real men use electromagnets to manipulate the
electrons in RAM directly' argument or something like that.

> 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.
 
I hadn't thought about using '.' to repeat the indentation. Thanks!
>
> ...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

/Daniel

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