This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 153788 - Problems w/ windows paths
Summary: Problems w/ windows paths
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: ClearCase (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 15:48 UTC by akochnev
Modified: 2008-11-25 19:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akochnev 2008-11-24 15:48:54 UTC
The clearcase plugin is still sumbling upon some of the windows paths, below is an example. Basically, there is a perl
script that disallows the removal of the branch; however, the way the clearcase plugin passes in the path it's working
on is attempting to remove a branch in CC. 



Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Unrecognized escape \m passed through in regex; marked by <-- HERE in m/\m <-- HERE
ain\Hub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Unrecognized escape \H passed through in regex; marked by <-- HERE in m/\main\H <-- HERE
ub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Unrecognized escape \m passed through in regex; marked by <-- HERE in m/\m <-- HERE
ain\Hub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Unrecognized escape \H passed through in regex; marked by <-- HERE in m/\main\H <-- HERE
ub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Unrecognized escape \m passed through in regex; marked by <-- HERE in m/\m <-- HERE
ain\Hub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Unrecognized escape \H passed through in regex; marked by <-- HERE in m/\main\H <-- HERE
ub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 139.
Unrecognized escape \m passed through in regex; marked by <-- HERE in m/\m <-- HERE
ain\Hub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 139.
Unrecognized escape \H passed through in regex; marked by <-- HERE in m/\main\H <-- HERE
ub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 139.
Illegal octal digit '8' ignored at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 139.
Comment 1 Tomas Stupka 2008-11-25 10:09:26 UTC
sorry, i jut don't understand what the problem is:(
Comment 2 Tomas Stupka 2008-11-25 10:09:27 UTC
sorry, i just don't understand what the problem is:(
Comment 3 akochnev 2008-11-25 15:53:21 UTC
I apologize for the short description of the problem. Here's some more info, let me know if that helps in identifying
the problem : 

Here's a line from the error message below : 
Unrecognized escape \m passed through in regex; marked by <-- HERE in m/\m <-- HERE
ain\Hub_v3_Integration\158410_ConnMgr_p1_i2/

Basically,  the clearcase path of the element that errored out was "\main\Hub_v3_Integration\158410_ConnMgr_p1_p2". It
appears that the "\m" that is passed to cleartool is somehow not properly escaped, and is therefore interpreted as a
"\m" option passed in on the command line (it appears that \m means "remove branch"  - a pretty descructive command to
pass in by accident). 

Similarly, on the next error message: 
Unrecognized escape \H passed through in regex; marked by <-- HERE in m/\main\H <-- HERE
ub_v3_Integration\158410_ConnMgr_p1_i2/ at \\clearcase01\triggers\DISALLOW_RMBRANCH.pl line 121.
 
The path in this error message is "\main\Hub_v3_Integration\158410_ConnMgr_p1_i2". The previous errors already warned
about the "\m" problem, this message basically says that it received a "\H" escape, which by the error message, it seems
that it doesn't mean anything in CC. 

I hope this helps. Let me know if you need further info to pinpoint the issue. 
Comment 4 Tomas Stupka 2008-11-25 17:20:36 UTC
ok. i think i got it.


so if we pass something like \main\whatever into cleartool it trigger the remove from ain\whatever. Or at least in some
cases, right?
Comment 5 akochnev 2008-11-25 19:05:44 UTC
yes, it seems to interpreted characters prefixed by a backslash from strings passed into it as command line options. 

Note that these paths are something that clearcase maintains internally : e.g. my project is not located at this path
9e.g. \main\Hub3_v3_Integration... my project is located in a similar path (e.g. d:\jdevelop\loclacc\stream_name\Hub_v3
or something like that.. )