Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1280)

Issue 4842: Add --rev option to specify revision to diff against for DVCS (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 8 months ago by Andi
Modified:
11 years, 9 months ago
Base URL:
http://rietveld.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Docstring #

Patch Set 3 : Synced with trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M static/upload.py View 1 2 9 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 5
Andi Albrecht
DVCS require a more specific definition of the branch or revision to diff against than ...
15 years, 8 months ago (2008-09-07 17:22:26 UTC) #1
Antoine Pitrou
http://codereview.appspot.com/4842/diff/202/3 File static/upload.py (right): http://codereview.appspot.com/4842/diff/202/3#newcode412 Line 412: group.add_option("--rev", action="store", dest="revision", Hmm, I first thought it ...
15 years, 8 months ago (2008-09-07 18:12:23 UTC) #2
Andi Albrecht
On 2008/09/07 18:12:23, Antoine Pitrou wrote: > http://codereview.appspot.com/4842/diff/202/3 > File static/upload.py (right): > > http://codereview.appspot.com/4842/diff/202/3#newcode412 ...
15 years, 7 months ago (2008-09-15 04:05:17 UTC) #3
GvR
I'm okay with this going in. http://codereview.appspot.com/4842/diff/202/3 File static/upload.py (right): http://codereview.appspot.com/4842/diff/202/3#newcode412 Line 412: group.add_option("--rev", action="store", ...
15 years, 7 months ago (2008-09-16 17:36:59 UTC) #4
Andi Albrecht
15 years, 7 months ago (2008-09-17 08:01:51 UTC) #5
On 2008/09/16 17:36:59, GvR wrote:
> I'm okay with this going in.
> 
> http://codereview.appspot.com/4842/diff/202/3
> File static/upload.py (right):
> 
> http://codereview.appspot.com/4842/diff/202/3#newcode412
> Line 412: group.add_option("--rev", action="store", dest="revision",
> On 2008/09/07 18:12:24, Antoine Pitrou wrote:
> > Hmm, I first thought it would use "-r" as a shortcut but I see it's already
> > taken by the "reviewers" option. So, I guess "--rev" is short enough.
> > 
> > (otherwise it could be replaced with "-b"/"--base" or "-b"/"--branch" or
even
> > "-b"/"--base-rev")
> > 
> 
> Note, you can call it --revision but type --rev; the optparser parser is smart
> enough to allow unambiguous abbreviations.

Unfortunately it's ambigous, we already have the --reviewers option ;-)
Committed r316.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b