Repository-wide find and replace

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
gsmalter
Posts: 115
Joined: Sat Jul 09, 2005 11:13 am

Repository-wide find and replace

Post by gsmalter » Thu Dec 03, 2009 1:55 pm

When we make changes to our code libraries, it would be very useful to be able to do a repository-wide find and replace to migrate client code rather than having to open up each individual solution in Visual Studio and do it there. We're still using Vault 4.1, and to my knowledge this feature doesn't exist. Does it exist in 5, or is it a future feature? Thanks.
Vault 5.0, Visual Studio 2010, Enhanced Client

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Repository-wide find and replace

Post by lbauer » Thu Dec 03, 2009 3:13 pm

It's still a future feature, but we've had a lot of requests, so we're looking at a way to implement this. The challenge is that we store source code as Blobs, not text, so we currently can't do a text search within the database.
Linda Bauer
SourceGear
Technical Support Manager

gsmalter
Posts: 115
Joined: Sat Jul 09, 2005 11:13 am

Re: Repository-wide find and replace

Post by gsmalter » Thu Dec 03, 2009 3:24 pm

lbauer wrote:The challenge is that we store source code as Blobs, not text, so we currently can't do a text search within the database.
I understand that pulling the blobs into memory a chunk at a time and searching the text there isn't the most performant thing in the world, but nothing is slower than a human being opening up 15 different solutions and doing the same thing.

In other words, if this operation takes a lot of computer time and consumes a gig of memory on my server during the operation, I won't hold it against you. It's worth it.
Vault 5.0, Visual Studio 2010, Enhanced Client

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Repository-wide find and replace

Post by lbauer » Fri Dec 04, 2009 12:04 pm

Thanks for your feedback. I've added your comments to feature request 5252, which is the "find in files" request.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply