Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
Added by Joshua Enfield about 14 years ago
This happens with pretty much any link from repository/changes/. I get "The entry does not exist or can not be annotated." With the annotate link. I haven't tested with other files, but this is with a .sh shell script file with about 6 revisions. Any idea what might be going on here?
Replies (10)
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by Joshua Enfield about 14 years ago
I have more information. I checked the error logs, and the following is triggered:
abort: /var/vcroot/link/vm-linux/STACK.sh not under root
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by Joshua Enfield about 14 years ago
If I run an hg update
on the Repository folder on the server it works, but this could be tricky with the named branches and such. Redmine appears to reference the folder the Repository resides in rather than the repository. I could add a hook into Redmine to trigger an hg update when the changes action is triggered, but this is less than ideal, and doesn't really function well for anything but the default trunk. :S
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by David Oliver almost 14 years ago
I'm also having issues viewing and annotating, etc., in the repository view. Updating the working directory helped, but didn't sort everything out for me.
Redmine seems to be aware of changesets in certain pages, such as View and Annotate, but clicking on a revision number in Annotate gives "The entry does not exist or can not be annotated." Also, the History view doesn't show anything.
Let me know if I should supply any information in particular.
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by Toshi MARUYAMA almost 14 years ago
Please see #4455.
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by David Oliver almost 14 years ago
Thanks for referring me to that issue.
Not being a programmer or experienced Redmine user myself, I'm thinking that this area is one which just needs patience. It would be nice to be able to use more of Mercurial's repository area, such as viewing history and matching hg email addresses to Redmine users, but I gather these aren't things that are relatively simple fixes for at this stage?
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by Toshi MARUYAMA almost 14 years ago
Did you strip revisions?
Redmine stores revision numbers on database.
This causes problem.
Please see #3724.
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by David Oliver almost 14 years ago
No, I haven't stripped revisions.
I'm attaching a few screenshots to show what I'm getting. Thanks.
repo-file-history.png (25.2 KB) repo-file-history.png | |||
repo-file-view.png (39.2 KB) repo-file-view.png | |||
repo-file-annotate.png (43.2 KB) repo-file-annotate.png | |||
repo-rev-view.png (20.9 KB) repo-rev-view.png |
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by Toshi MARUYAMA almost 14 years ago
I don't know what problem is.
Current redmine mercurial adapter has many problems.
Could you try Yuya's MQ?
http://bitbucket.org/yuja/redmine-mq-issue4455/src
You can qclone my and Yuya's repository with following command.
$ hg qclone http://bitbucket.org/marutosi/redmine-hgsubversion-1.0-clean \ --patches http://bitbucket.org/yuja/redmine-mq-issue4455/.hg/patches/
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by David Oliver almost 14 years ago
Thanks for the reply.
I'm not experienced with patches. What would be the risks involved with applying them to my installation of Redmine?
RE: Mercurial - "The entry or revision was not found in the repository." Only when trying to view, annotate, or download a specific file.
-
Added by Toshi MARUYAMA almost 14 years ago
Yuya's MQ never change database schema, so we don't need to migrate db.
But, I recommend you to backup database and files/ directory etc.