[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: how to search body of all revisions?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 19 Jan 2010 10:27:23 -0500

Surely you must have at least some idea of when this change happened,
and when it was first noticed that the code went missing, and can look
through just that range of revisions?

Yes, you can "dump" all the revisions of a given file, but you'll have
to script it.

svn cat URL_TO_FILE_at_REV1 >file.rev1
svn cat URL_TO_FILE_at_REV2 >file.rev2
svn cat URL_TO_FILE_at_REV3 >file.rev3

And so on.

On Tue, Jan 19, 2010 at 10:18, saurabh kumar <saurabh9_at_gmail.com> wrote:
> no, unfortunately I do not have a log message which I can search.
>
> So alternately, can I dump all revisions of a given file by some unique names maybe to a folder?
>
>> saurabh kumar schrieb:
>> > Hi, A coder apparently overwrote some piece of code and then future
>> > revisions naturally did not have that piece of code.
>> >
>> > I need to find which revision had that piece of text.
>> >
>> > Is there a way I can search across all revisions to find that piece
>> > of text for a given file in my repository?
>>
>> Not that I'm aware of. Do you have a logmessage that you could search for?
>>
>> The only other possibility I know is to get a full repo dump and search
>> for your code there.
>>
>> Felix
>>
>> --
>>   /^\ | ASCII Ribbon Campaign
>>   \ / | - no HTML in email and news
>>    x  | http://www.asciiribbon.org/
>>   / \ | http://www.gerstbach.at/2004/ascii
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2440278
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2440286

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-19 16:27:28 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.