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

New issue 3182 by ondra....@gmail.com: rbt fails to parse revision range
http://code.google.com/p/reviewboard/issues/detail?id=3182

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
rejected.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!


What version are you running?
0.5.3

What's the URL of the page containing the problem?
None, see the output below.

What steps will reproduce the problem?
1. Upgrade RBTools from 0.5.2 to 0.5.3.
2. Try rbt post with --revision-range=rev1:rev2
3. Watch the thing fail.

What is the expected output? What do you see instead?
Expected output (this is rbt 0.5.2):
$ rbt post --branch feature/62694482/b --revision-range=068106ff218440586b890e3ff069aeff4fb6abf8:58cd165aa948d5c42d9947d1b5843f72781c0ea6 --summary='Something' --description='Something' --debug
DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Running: svn info --non-interactive
DEBUG:root:Command exited with rc 1: ['svn', 'info', '--non-interactive']
svn: E155007: '/Users/foobar/Projects/Whatever/somerepo' is not a working copy
---
DEBUG:root:Checking for a Git repository...
DEBUG:root:Running: git rev-parse --git-dir
DEBUG:root:Running: git config core.bare
DEBUG:root:Running: git rev-parse --show-toplevel
DEBUG:root:Running: git symbolic-ref -q HEAD
DEBUG:root:Running: git config --get git-p4.port
DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 'git-p4.port']
---
DEBUG:root:Running: git config --get branch.develop.merge
DEBUG:root:Running: git config --get branch.develop.remote
DEBUG:root:Running: git config --get remote.origin.url
DEBUG:root:repository info: Path: g...@github.com:foobar/somerepo.git, Base path: , Supports changesets: False
DEBUG:root:Running: git config --get reviewboard.url
DEBUG:root:Making HTTP GET request to https://review.example.com/api/
DEBUG:root:Making HTTP GET request to https://review.example.com/api/info/
DEBUG:root:Running: git merge-base origin/develop refs/heads/develop
DEBUG:root:Running: git branch -r --contains 068106ff218440586b890e3ff069aeff4fb6abf8 DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff --ignore-submodules --no-renames 068106ff218440586b890e3ff069aeff4fb6abf8..58cd165aa948d5c42d9947d1b5843f72781c0ea6 -M DEBUG:root:Making HTTP GET request to https://review.example.com/api/review-requests/ DEBUG:root:Making HTTP POST request to https://review.example.com/api/review-requests/ DEBUG:root:Making HTTP GET request to https://review.example.com/api/review-requests/5539/diffs/ DEBUG:root:Making HTTP POST request to https://review.example.com/api/review-requests/5539/diffs/ DEBUG:root:Making HTTP GET request to https://review.example.com/api/review-requests/5539/draft/ DEBUG:root:Making HTTP PUT request to https://review.example.com/api/review-requests/5539/draft/
Review request #5539 posted.

https://review.example.com/r/5539/

Actual output (rbt 0.5.3):
$ rbt post --branch feature/62694482/b --revision-range=068106ff218440586b890e3ff069aeff4fb6abf8:58cd165aa948d5c42d9947d1b5843f72781c0ea6 --summary='Something' --description='Something' --debug
DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Running: svn info --non-interactive
DEBUG:root:Command exited with rc 1: ['svn', 'info', '--non-interactive']
svn: E155007: '/Users/foobar/Projects/Whatever/testrepo' is not a working copy
---
DEBUG:root:Checking for a Git repository...
DEBUG:root:Running: git rev-parse --git-dir
DEBUG:root:Running: git config core.bare
DEBUG:root:Running: git rev-parse --show-toplevel
DEBUG:root:Running: git symbolic-ref -q HEAD
DEBUG:root:Running: git config --get git-p4.port
DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 'git-p4.port']
---
DEBUG:root:Running: git config --get branch.develop.merge
DEBUG:root:Running: git config --get branch.develop.remote
DEBUG:root:Running: git config --get remote.origin.url
DEBUG:root:repository info: Path: g...@github.com:foobar/somerepo.git, Base path: , Supports changesets: False
DEBUG:root:Running: git config --get reviewboard.url
DEBUG:root:Making HTTP GET request to https://review.example.com/api/
DEBUG:root:Making HTTP GET request to https://review.example.com/api/info/
DEBUG:root:Running: git rev-parse 068106ff218440586b890e3ff069aeff4fb6abf8:58cd165aa948d5c42d9947d1b5843f72781c0ea6 Failed to execute command: ['git', 'rev-parse', '068106ff218440586b890e3ff069aeff4fb6abf8:58cd165aa948d5c42d9947d1b5843f72781c0ea6'] fatal: Path '58cd165aa948d5c42d9947d1b5843f72781c0ea6' does not exist in '068106ff218440586b890e3ff069aeff4fb6abf8'
068106ff218440586b890e3ff069aeff4fb6abf8:58cd165aa948d5c42d9947d1b5843f72781c0ea6

What operating system are you using? What browser?
Mac OS X 10.8.5

Please provide any additional information below.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
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 reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to