Click here to Skip to main content
15,889,315 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Yet another Subversion rant Pin
Stuart Dootson23-Apr-13 23:30
professionalStuart Dootson23-Apr-13 23:30 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang24-Apr-13 4:25
Stefan_Lang24-Apr-13 4:25 
GeneralRe: Yet another Subversion rant Pin
Stuart Dootson24-Apr-13 4:43
professionalStuart Dootson24-Apr-13 4:43 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang24-Apr-13 5:25
Stefan_Lang24-Apr-13 5:25 
GeneralRe: Yet another Subversion rant Pin
Trajan McGill24-Apr-13 11:35
Trajan McGill24-Apr-13 11:35 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang24-Apr-13 21:41
Stefan_Lang24-Apr-13 21:41 
GeneralRe: Yet another Subversion rant Pin
Trajan McGill25-Apr-13 5:28
Trajan McGill25-Apr-13 5:28 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang25-Apr-13 21:22
Stefan_Lang25-Apr-13 21:22 
I give up. I'm used to the TSVN documentation which doesn't have a copy command: it only uses a branch command that only works on the repository. Problem solved...

There still remain the facts that

1. the way svn copy was used here resulted in an actual copied file rather than a link.

2. I still don't know why the svn copy command listed here doesn't even work on my SVN 1.6 client. I went through each step twice to be sure I exactly reproduced the same steps, but the error message remains. Apparently it does work on the SVN 1.7 client, and I'm too lazy to install that version, so I'm willing to assign this problem to a different cause.

But that still doesn't explain that:

3. if I follow the commands provided in the documentation of V 1.7 (copying URLs in the repository rather than directories of a working copy), I end up with only one file, which is the expected result.

If the recommended steps in the documentation yield the expected result, but the steps from the outdated documentation does not, what is your conclusion?

At this point I am no longer sure if the SVN documentation is accurate or not, or if it fails to point out specific subtleties about recent changes in the svn copy command. I normally only go by the documentation of TSVN which is a much easier read and always delivered the expected results.

Or maybe we uncovered a bug in SVN. The only thing we didn't investigate so far, which may be part of this problem, is the fact that the file rename happened before the "branch" was committed to the repository. I know for a fact that SVN 1.4 had severe trouble keeping track of both structural (directory / rename) changes and file changes at the same time. The TSVN 1.4 documentation made a point to always commit a move (or multiple moves) atomically, and not mix them up with preexisting changes. I. e. all local changes should be committed before the move.

Maybe SVN still has some trouble with that scenario: copying inside the repository (the now recommended practice) implicitely commits the new branch, so that could explain why this variant doesn't have to cope with the problem of keeping track of changes applied to an already moved file.
GeneralRe: Yet another Subversion rant Pin
Trajan McGill26-Apr-13 4:57
Trajan McGill26-Apr-13 4:57 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang24-Apr-13 23:16
Stefan_Lang24-Apr-13 23:16 
GeneralRe: Yet another Subversion rant Pin
Stuart Dootson24-Apr-13 23:30
professionalStuart Dootson24-Apr-13 23:30 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang25-Apr-13 1:32
Stefan_Lang25-Apr-13 1:32 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang25-Apr-13 21:50
Stefan_Lang25-Apr-13 21:50 
GeneralRe: Yet another Subversion rant Pin
Member 376360822-Apr-13 13:07
Member 376360822-Apr-13 13:07 
GeneralRe: Yet another Subversion rant Pin
EdReel22-Apr-13 14:45
EdReel22-Apr-13 14:45 
GeneralRe: Yet another Subversion rant Pin
BobJanova22-Apr-13 23:55
BobJanova22-Apr-13 23:55 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang24-Apr-13 4:28
Stefan_Lang24-Apr-13 4:28 
GeneralRe: Yet another Subversion rant Pin
Vasudevan Deepak Kumar23-Apr-13 9:58
Vasudevan Deepak Kumar23-Apr-13 9:58 
GeneralRe: Yet another Subversion rant Pin
Clifford Nelson24-Apr-13 10:17
Clifford Nelson24-Apr-13 10:17 
GeneralDirect me to USB Pin
C-P-User-315-Apr-13 7:57
C-P-User-315-Apr-13 7:57 
GeneralRe: Direct me to USB Pin
ENOTTY15-Apr-13 8:46
ENOTTY15-Apr-13 8:46 
GeneralRe: Direct me to USB Pin
LloydA11115-Apr-13 9:19
LloydA11115-Apr-13 9:19 
GeneralRe: Direct me to USB Pin
Pete O'Hanlon16-Apr-13 1:54
mvePete O'Hanlon16-Apr-13 1:54 
GeneralBest Practices turned into Coding Horrors. PinPopular
Paulo Zemek15-Apr-13 7:25
mvaPaulo Zemek15-Apr-13 7:25 
GeneralRe: Best Practices turned into Coding Horrors. PinPopular
Brisingr Aerowing15-Apr-13 7:37
professionalBrisingr Aerowing15-Apr-13 7:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.