comparing clearcase label is not supported

Review Request #5155 — Created Dec. 23, 2013 and discarded

Information

RBTools
master

Reviewers

currently tracking changes in a branch or several revisions are supported. However since other SCM, clearcase proposes a system of label/tag ie lbtype
It is very useful to compare a clearcase directory between two labels or between one label and current checked in code

this has been implemented through --revision-range option. When it does not contains clearcase revision token "@@", we consider requesting a diff between labels
following are supported:
--revision-range=label1 # compares recursively current directory ie .@@/label1 with current checked in files ie .@@.../LATEST (a temporary lbtype is created to perform this diff efficiently
--revision-range="label1;label2" # compares recursively current directory ie .@@/label1 with .@@/label2

co-author:
Christophe RABU

$ cd /vobs/vobtag/subdir or /vobs/vobtag
post-review --revision-range=label1
OK
$ post-review --revision-range="label1;label2"
OK
$ post-review --revision-range="label1;label2;something"
KO

DE
DE
DE
david
  1. We've done a fair amount of work on the RBTools revision syntax (passing in revisions as arguments instead of with --revision-range). Could you update this patch to fit in with the current code on master?

    You'll need to support the "lbtype:" prefix in parse_revision_spec, and then handle the diffing between labels in diff.

  2. 
      
DE
Review request changed

Status: Discarded

Change Summary:

Obsolete without updates.
Loading...