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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,454 views 26 12
Join discussion

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