Switch to fuzzy search in setup-repo to match repository path
Review Request #5724 — Created April 22, 2014 and submitted
Sometimes repository path on reviewboard server and on local copy of repository may contains slight difference (trailing slash, user credentials, etc.)
Now rbt setup-repo offers repository with closest path to local path.
Unit testing with nosetests
Ran 108 tests in 38.481s
OK (SKIP=24)
- Change Summary:
-
Now i added fuzzy search in setup-repo.
- Commit:
-
1cb8f1f377b4d201f14931f84bf83ec1872c1858
- Change Summary:
-
Change description due to new behavior
- Summary:
-
Remove credentials from repository pathSwitch to fuzzy search in setup-repo to match repository path
- Description:
-
~ If repository path saved with credentials (for example https://user@yourhost.com/user/repo.git) rtb commands like setup-repo, post, etc can't find repository on reviewboard server.
~ This changes clear this information from repository path. ~ Sometimes repository path on reviewboard server and on local copy of repository may contains slight difference (trailing slash, user credentials, etc.)
~ + Now rbt setup-repo offers repository with closest path to local path.