aeppert / codesearch

Automatically exported from code.google.com/p/codesearch
0 stars 0 forks source link

cindex should skip revision control directories #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When pointed to a source code tree containing revision control meta-data (e.g. 
.svn, CVS, or similar system with meta-data in each subdir), the metadata files 
get indexed as well, leading to undesired output from csearch.

What steps will reproduce the problem?
1. checkout some svn code
2. cindex that code
3. csearch some-token

What is the expected output? What do you see instead?
Only the actual code files are hits, instead I also see "xxx.svn-base" files.

What version of the product are you using? On what operating system?
hg 070ef10ab799

Please provide any additional information below.
Thanks for a great tool!

Original issue reported on code.google.com by caleb.ep...@gmail.com on 20 Jan 2012 at 2:04

GoogleCodeExporter commented 9 years ago
The version you're running should have the fix for issue #2 which amounts to 
the same bug.  Try regenerating your index (cindex -reset && cindex 
my-svn-checkout ) and see if the problem persists.

Original comment by dgryski on 21 Jan 2012 at 10:41

GoogleCodeExporter commented 9 years ago
Indeed this is fixed.  Needed to goinstall -u to get the right version built.  
Feel free to close this bug as a duplicate.

Original comment by caleb.ep...@gmail.com on 23 Jan 2012 at 3:51

GoogleCodeExporter commented 9 years ago

Original comment by dgryski on 2 May 2012 at 8:46