ClearCase UnboundLocalError instead communicate with informations
Review Request #1508 — Created April 6, 2010 and discarded
When there is some problems with view open function just raise an exception instead return some human readable information
- Change Summary:
-
New diff with change allowing pass ClearCase --view-type in parameters
- Diff:
-
Revision 3 (+20 -8)
DJ
-
The word should be 'adequate' not 'adequat'. I suggested 'unknown' because I'm not quite sure what you were trying to suggest. I have some knowledge of CC and have tested RB with CC, but I don't normally use, so I'm not quite sure what state everything is in. Last I checked, I could only get post-review to work with dynamic views. Is your error message meant to indicate this? I imagine we could detect the type of view with a cleartool command, instead of specifying it as an option.
- Change Summary:
-
Fix quotes and fatal error with stderr.write() mistake. Replay
- Diff:
-
Revision 6 (+19 -8)
-
-
-
The variable should be named "clearcase_view_type". Would it make sense to default this parameter to "snapshot" for existing users?
-
-
-
This makes it sound like the parameter doesn't exist. The error message should better describe that the view type isn't set and needs to be. Something like: "The --clearcase-view-type parameter must be specified for ClearCase repositories."
- Change Summary:
-
Only dynamic view is able to show any version existing in repository. Snapshot view is unable to be used as information about other versions then checked out (this is like a photo of the repository take in selected moment. You can't see what was happen before or after). Only way to implement snapshot views in ClearCase is to add something like --compare-directories="/path/to/directory1:/path/to/directory2". I show similar implementation in one compering tool which get two distinct snapshot views to compare them.
- Diff:
-
Revision 9 (+4 -1)