Hi, I'm using FISHEYE to search a SVN repo - what I want to do is search through current AND all old revisions. "Search HEAD only " is unchecked, does that mean all the history is searched when invoked ? . . . thanks

4 answers

Hi Melvyn,

History search is one of the core features of Fisheye. Ensure "store diff info" is enabled in the SCM Details of your repository configuration (it is enabled by default) and FISHEYE will index the full diff text of every revision in your repository. This will enable you to search for any text that has ever been comitted to the repository, even if it has since been deleted.

Kind Regards,
Richard Stephens

Thanks Richard

I think I need to explore this a bit with my Admin Team, a quick test on 1 file fails to find a string that's in an OLD version but NOT in the current version of a file . . .



Is there a way to search for a string in the SVN HEAD and ALL the history in a single pass ? My Admin guys are telling me to use a 2-pass method - 1st with a "CONTENT" search, then 2nd with a REMOVED TEXT search.

What I would like to do is find all occurrences of a specific string in ALL revisions of all files in a single pass, when potentially the string doesn't occur in all revisions of any particular file

So far, only way is to run a script against an SVN DUMP file . . . any other (easier) options would be good to know about

0 votes
Nick Pellow Atlassian Team Aug 08, 2013

Hi Melvyn,

I noticed you are trying to use the Advanced Search in FishEye. With the Search HEAD only option checked, fisheye will not search any historical content.

I believe you should be able to use the basic search however. e.g. have a look at these results:

That is showing all places where the text "fixme hack" was either added, removed or modified.

Including HEAD revisions. Does that help?



not sure - my Fisheye screen doesn't look quite like that, have to investigate further . . .

got it . . now it does . . . need to verify the results . . . thx for the tip

so copying the example quoted - using searching for DIFFS - problem is I get 16K instances. An advanced search lets me download a CSV file of results, but this simple search seems only to give results on a "screen by screen" basis. 16K results is just too hard to manually sort thru . . .
Searching using CONTENT still gives me 10K . . .

If I could get the file names from the results into a file, or limit/filter by filename, that would be good

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

255 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you