Check out Before Find & Replace

Published 14 July 04 11:45 AM | mhawley

So I had to make a change to a demo at work today, which is checked into VSS. This change basically was to modify the color of an element in CSS (which happens to be on every page, thats about 250 demo HTML pages).

Ohh, stupid me...I didn't check the files out before doing the Find & Replace, so now I'm having to click "Check Out" 250+ times everytime this value is found and replaced.

Word of the wise, make sure you do a check out of all files if doing this type of find & replace.

Well, back to it, about another 15 min of hitting "Check Out"...

Update: After 5 min. I just realized that I should open up VSS manually and check out the files there...ahh much better. BTW - it was 553 files, not 250...I would have been doing this for 30 min.

Update 2: Another good way to render VS.NET useless is to have 550 documents open at 1 time. Also, closing the windows takes about 5 minutes.

Filed under: ,

Comments

# Jerry Pisk said on July 14, 2004 03:10 PM:

Why didn't you just modify the CSS file? It doesn't care in how many pages it's included...

# Matt Hawley said on July 14, 2004 03:13 PM:

"which happens to be on every page" - this was a demo that we modified for our business...we didn't create it. Trust me, I would have liked it to all be in 1 CSS file, but it wasn't.

# Dave Kekish said on July 14, 2004 04:00 PM:

I feel your pain. I did the same thing the other day only with about 200 files. All I wanted to do was change the namespace.

# Frans Bouma said on July 14, 2004 06:22 PM:

Ah, the good old Homesite with its extended find & replace feature which searches and replaces in files as well....

This Blog

News

.NET Links

Blogs I Read

Syndication