mgirod / clearcase-cpan

Automatically exported from code.google.com/p/clearcase-cpan
0 stars 0 forks source link

Wrapper::MGi diff -pred -- what is the pred? #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ct diff -diff DeliverOssrc.pm@@/main/mg-007/16 | wc -l
     129
2. ct diff -diff -pred DeliverOssrc.pm@@/main/mg-007/16 | wc -l
     129
3. ct lsgen -s -d 3 DeliverOssrc.pm@@/main/mg-007/16
DeliverOssrc.pm@@/main/mg-007/16
 DeliverOssrc.pm@@/main/mg-007/swdi_tr_25/1
  DeliverOssrc.pm@@/main/mg-007/15
   DeliverOssrc.pm@@/main/mg-007/14
4. ct diff -diff DeliverOssrc.pm@@/main/mg-007/15
DeliverOssrc.pm@@/main/mg-007/16 | wc -l
      99
5. ct diff -diff DeliverOssrc.pm@@/main/mg-007/swdi_tr_25/1
DeliverOssrc.pm@@/main/mg-007/16 | wc -l
       0
6. ct diff -diff DeliverOssrc.pm@@/main/mg-007/14
DeliverOssrc.pm@@/main/mg-007/16 | wc -l
     103
7. ct diff -diff DeliverOssrc.pm@@/main/mg-007/13
DeliverOssrc.pm@@/main/mg-007/16 | wc -l
     173

What is the expected output? What do you see instead?

I would expect 99, and that the lsgen output would be:

ct lsgen -s -d 3 DeliverOssrc.pm@@/main/mg-007/16
DeliverOssrc.pm@@/main/mg-007/16
 DeliverOssrc.pm@@/main/mg-007/swdi_tr_25/1
 DeliverOssrc.pm@@/main/mg-007/15
  DeliverOssrc.pm@@/main/mg-007/14

I don't know exactly what I get...

Please use labels and text to provide additional information.

r230

Original issue reported on code.google.com by marc.girod on 10 Mar 2009 at 2:47

GoogleCodeExporter commented 9 years ago
I know what I get:

ct ls DeliverOssrc.pm
DeliverOssrc.pm@@/main/mg-007/17                         Rule: R7_APPS 
[-mkbranch mg]
ct diff -diff DeliverOssrc.pm@@/main/mg-007/15 DeliverOssrc.pm@@/main/mg-007/17 
| wc -l
     129

Original comment by marc.girod on 10 Mar 2009 at 2:50

GoogleCodeExporter commented 9 years ago
Fixed both problems in r237

Original comment by marc.girod on 22 Mar 2009 at 6:06