2930: Post review gives incorrect base path on Windows with ClearCase

tomas******@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 14, 2013
What version are you running?
RBTools 0.4.3

What steps will reproduce the problem?
1. Use post-review on Windows with ClearCase dynamic view
2. Run post-review in dynamic view catalog U:\some_vob\ with following line:
post-review -d --tracking some_branch

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

The actual output is for instance:
>>> RBTools 0.4.3
>>> Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)]
>>> Running on Windows-7-6.1.7601-SP1
>>> Home = C:\Users\some_user\AppData\Roaming
>>> Current Directory = U:\some_view
>>> Checking the repository type. Errors shown below are mostly harmless.
DEBUG:root:Checking for a Bazaar repository...
DEBUG:root:Checking for a CVS repository...
DEBUG:root:Checking for a ClearCase repository...
DEBUG:root:Running: cleartool pwv -short
DEBUG:root:Running: diff --version
DEBUG:root:Running: cleartool lsview -full -properties -cview
DEBUG:root:Running: cleartool describe -short vob:.
DEBUG:root:Running: cleartool pwv -root
DEBUG:root:repository info: Path: U:\some_vi, Base path: U:\some_vi, Supports changesets: False
>>> Finished checking the repository type.
>>> HTTP GETting api/info/
Username: ==> HTTP Authentication Required
Enter authorization information for "Web API" at iternal.rb.server.com
username
Password: bruce_schneiers_passpoem
DEBUG:root:Running: cleartool find -all -version brtype(some_branch) -exec "cleartool descr -fmt \"%En\t%PVn\t%Vn\n\" %CLEARCASE_XPN%"
There don't seem to be any diffs!

The view base path is truncated: U:\some_vi - this is because cleartool pwv -root returns always empty result on dynamic view on Windows.

This path is being sent to the server on calling the RB API, but I do not know whether incorrect base path breaks the review or not. Didn't get that far yet.


What operating system are you using? What browser?
Windows 7 64-bit
Chrome(but this doesn't matter)

Please provide any additional information below.
#2 Jan.Ko*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Tomasz,

  Unfortunatelly current RBTools implementation works only in terms of one VOB.
  So to run RBTools successfully run it inside U:\some_view\myVob
david
#3 david
  • +UserError