Git repository: "The entry or revision was not found in the repository."
Added by Yang Zhang over 14 years ago
I added the bare repository file:///var/git/web.git/ to a project, but clicking on Repository gives me:
"The entry or revision was not found in the repository."
I then tried deleting that and adding a file:///home/.../web/ (a non-bare clone repository), but that gave me the same thing. Using redmine 0.9.3 on Ubuntu 10.04. Any hints? Thanks in advance.
Replies (12)
RE: Git repository: "The entry or revision was not found in the repository." - Added by Toshi MARUYAMA over 14 years ago
Remove "file://" and set "/var/git/web.git/".
RE: Git repository: "The entry or revision was not found in the repository." - Added by Felix Schäfer over 14 years ago
file://
and bare are the way to go, nothing wrong with that. Does the log yield any errors? Anyway, most of the time this happens because either redmine can't find the git binary in it's PATH, or it doesn't have read permission on the repository. As I rather suspect the first problem to be the case, see if you can tackle that one, we'll see about the second if needed.
RE: Git repository: "The entry or revision was not found in the repository." - Added by Toshi MARUYAMA over 14 years ago
Felix Schäfer wrote:
file://
and bare are the way to go, nothing wrong with that.
Sorry, I confused Mercurial #3917.
RE: Git repository: "The entry or revision was not found in the repository." - Added by Yang Zhang over 14 years ago
Changing the file:/// to a / worked for me, FWIW.
RE: Git repository: "The entry or revision was not found in the repository." - Added by Felix Schäfer over 14 years ago
Ough, this happens when I'm allowed near a keyboard too early in the morning. Paths for git don't take a prepended file://
, Toshi was right. Sorry to you both.
RE: Git repository: "The entry or revision was not found in the repository." - Added by Matt Connolly about 13 years ago
Same happened to me this morning. Duh... remove the "file://" and it works with a native path.
Repository permissions could be wrong - Added by Colan Schwartz over 11 years ago
This can be caused by the Web server not being able to read the repository. Check your permissions on the Git directory. On Ubuntu for example, the user "www-data" needs read access (if using Apache).
RE: Git repository: "The entry or revision was not found in the repository." - Added by deepak Kumar over 3 years ago
I am getting error "The entry or revision was not found in the repository" while referencing git repo
I have placed git repository at this path
C:\Bitnami\redmine-4.2.1-0\git\lares_paymentservice
In redmine I have defined Path : "C:\Bitnami\redmine-4.2.1-0\git\lares_paymentservice" Path to Repository . Please see attachment
redmine_error.png (11.5 KB) redmine_error.png | |||
redmine_error2.png (25.2 KB) redmine_error2.png |
RE: Git repository: "The entry or revision was not found in the repository." - Added by Lorenzo Meneghetti over 3 years ago
deepak Kumar wrote:
...
In redmine I have defined Path : "C:\Bitnami\redmine-4.2.1-0\git\lares_paymentservice" Path to Repository . Please see attachment
Hi, sorry I don't how it works in Windows but from the picture seems you enter slash instead of backslash.
Thanks
Lorenzo
RE: Git repository: "The entry or revision was not found in the repository." - Added by deepak Kumar over 3 years ago
Thanks for your prompt response. But I am still getting Error . I have updated backslash path
redmine_error3.png (11.2 KB) redmine_error3.png |
RE: Git repository: "The entry or revision was not found in the repository." - Added by deepak Kumar over 3 years ago
I just Solved the problem by adding "C:\Bitnami\redmine-4.2.1-0\git\lares_paymentservice\.git" . Thank you
RE: Git repository: "The entry or revision was not found in the repository." - Added by deepak Kumar over 3 years ago
Is there any way to map directly github server repository ? e.g. https://github.com/myproject/SampleWebApp.git
This is to get latest code always otherwise I need to update local folder everytime or make some trigger to pull/clone repo