Click here to Skip to main content
15,890,282 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
PIEBALDconsult20-Apr-13 18:08
mvePIEBALDconsult20-Apr-13 18:08 
GeneralRe: Yet another Subversion rant Pin
Stuart Dootson22-Apr-13 11:09
professionalStuart Dootson22-Apr-13 11:09 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang23-Apr-13 4:54
Stefan_Lang23-Apr-13 4:54 
GeneralRe: Yet another Subversion rant Pin
Stuart Dootson23-Apr-13 5:56
professionalStuart Dootson23-Apr-13 5:56 
GeneralRe: Yet another Subversion rant Pin
Stefan_Lang23-Apr-13 22:21
Stefan_Lang23-Apr-13 22:21 
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 
Stefan_Lang wrote:
You never created a branch, you only created a copy of a subdirectory that happened to be named trunk/. That is why you then had two files rather than one.


Think again - svn copy (or svn cp, for short) *is* how you create a branch - look at the relevant part of the SVN red book[^].

Stefan_Lang wrote:
The problem started when after creating the initial repository structure you forgot to checkout the repository trunk. Instead you kept using the repository top level as if it were the trunk, effectively turning it into the trunk and converting the trunk/ and branches/ subfolders into just that: subfolders.

 

You also should have checked out the new branch specifically: you can't work on a branch without checking it out first. The only reason you didn't encounter errors is that you never created one to start with: you only created a new subfolder within your working copy of the repository.


Ummm - no. By checking out the entire repository rather than just the trunk sub-tree, I implicitly checkout trunk, tags, branches, everything. Anyway - the use of 'trunk', 'branches' and 'tags' is purely a naming convention, not something mandated by Subversion. Subversion exerts an awful lot less control over the way you work than you imply.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

CodeProject MVP for 2010 - who'd'a thunk it!

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

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.