subversion

Names Are Everything

My son's mother wanted to name him Studebaker. She came up with this idea a couple months before he was born.

"Studebaker?" I said, more than a little incredulous at the thought. I was envisioning myself wandering the neighborhood some 8 years hence, yelling "Stoooodyyyyy, hey Stooooddyyyyyyy, time for dinner". When the nurse asked what his name was, I jumped in and said "E..." before it came up again.

When I started this project I'd named a sub-project "Controls" cuz my original thought was that that's what it would hold. Only later did I realize that "Controls" Needs to be a bit deeper and inside something else - like "libUI" for "User Interface Library".

Well, VS allows us to rename things (within the project) but it usually doesn't rename the underlying file system thingies (files/directories) which is "okay I guess" in some situations. But I'm using subversion and its view of the world is through file system objects and being a purist, I'd like the file system things to reflect their project names. Anyways.....

I tried several approaches to renaming the underlying directory in a manner that would make both VS and subversion happy and finally came up with this:

  1. make sure the repository is up to date
  2. rename the directory within the repository - use a comment that reflects that this is the first operation (first of two actually)
  3. checkout the project
  4. do NOT start VS yet!
  5. edit the solution file(s) that reference the directory's old name - change the old name to the new name and save
  6. start VS and verify that everything still works
  7. commit the changes to subversion
Syndicate content