.hg repo into a .git repo #4118
Unanswered
ChristopheBordieu
asked this question in
Q&A
Replies: 1 comment 5 replies
-
It's a bug. After the repository scan was parallelized in 8df660a, instead of just the source root directory, all its sub-directories are passed for scanning: This means that the depth computations are off by one. Instead of adjusting the default scanning depth value, the computation needs to take this into account. As a workaround run with |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
Our OpenGrok instances index only Git repos.
Unfortunately, for historical reason, some of these Git repos contain into subpath a Mercurial repo (.hg). Eg:
(I know it is not clean.)
When indexing (project-based), I set depth to 2 in order to look only to path like PROJECT/repo.
No hg command is available on our env. So it is not set into configuration file.
Surprisingly, I have messages into the log indicating the Mercurial repos are discovered but obviously not "working" since no hg command available so that these Mercurial repo paths (whose depth is >2) are invalidated.
Is it expected?
OG 1.7.35
INFO: Indexer options: [-m, 256, -v, -c, /srv/universal-ctags/bin/ctags, -s, /srv/opengrok-src, --depth, 2, -d, /srv/opengrok-var, -i, *.swp, -i, *.bin, -i, *.gz, -i, *.rpt, -i, *.tar, -i, *.zip, -i, *.class, -i, *.bz2, -i, *.7z, -i, *.tgz, -i, *.exe, -i, *.jar, -i, *.war, -i, *.a, -i, *.so, -i, *.xlsx, -i, *.docx, -i, *.pptx, -i, *.doc, -i, *.ppt, -i, *.xls, -i, *.png, -i, *.PNG, -i, *.gif, -i, *.GIF, -i, *.bmp, -i, *.BMP, -i, *.jpg, -i, *.JPG, -i, *.jpeg, -i, *.JPEG, -H, -P, -S, -G, -R, /srv/opengrok-var/etc/configuration.xml, -W, /srv/opengrok-var/etc/configuration.xml, -U, http://localhost:8080]
(If -i argument could be case insensitive, it will be cool ;-P)
Beta Was this translation helpful? Give feedback.
All reactions