Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3790 by RB not able to open local git repo on Windows

*** You must complete this form in its entirety, or your bug report will be
*** rejected.
*** If you have a security issue to report, please send it confidentially
*** Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
*** For customer support, please post to
*** If you have a patch, please submit it to
*** This bug tracker is public. Please check that any logs or other
*** that you include has been stripped of confidential information.

What version are you running?

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Set a repo name
2. Set repo type Git
3. Set path: file://D:/git_clones/some_repo/.git
4. Click save

What is the expected output? What do you see instead?
RB Repo is created

Error message
Permission denied accessing the local Git repository '/git_clones/some_repo/.git'

What operating system are you using? What browser?

Please provide any additional information below.
As you can see the hard drive letter is missing from the path

There is already a stackoverflow entry offering a fix

I'm not sure if this fix is platform independent.
Therefore, I'm proposing platform dependent solution in line 485:

if platform.system() == "Windows":
    #Windows requires drive letter (e.g. C:/)
    self.git_dir = url_parts[1] + url_parts[2]
    self.git_dir = url_parts[2]

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to