hi,
the problem is just a matching mistake which is occured in row 1641 in the
cws.pl.
>> $ooo_wc_url = svn_wc_url($ooo_path);
>> if ( $ooo_wc_url !~ /\/$cwsname$/ ) {
>> print_error("Your working copy '$ooo_path' is not switched to the cws
branch.\nPlease fix and restart rebasing.", 24);
}
The value of the variable $ooo_wc_url you get from svn has an additional space
behind it.And the maching rule is a complete one.So you can modify the rule
just like this: $ooo_wc_url !~ /\/$cwsname\s$/ or $ooo_wc_url !~
/\/$cwsname/ to solve this problem.
>
>Hi all,
>
>Now I can't rebase my cws swcharunit02 from m32 to m42 which has just
>been migrated to svn from cvs.
>After commiting my changing ptach to m32, I re-downloaded my cws to local
>directory "cws_charunit".
>when I cd to "cws_charunit", and type "svn info", it tells me that the working
>copy is cws swcharunit02.
>The info is as follows:
>--------
>Path: .
>URL: svn+ssh://[email protected]/ooo/cws/swcharunit02
>Repository Root: svn+ssh://[email protected]/ooo
>Repository UUID: 8da58560-a4e7-4996-a0c2-a735b94b261c
>Revision: 268781
>Node Kind: directory
>Schedule: normal
>Last Changed Author: lijian
>Last Changed Rev: 268781
>Last Changed Date: 2009-03-04 14:31:23 +0800 (星期三, 04 三月 2009)
>--------
>
>But when I do "cws rebase -m latest ." in directory "cws_charunit", it tells
>me that:
>--------
>... verifying if workspace '.' is switched to CWS
>'swcharunit02'.
>cws: ERROR: Your working copy '.' is not switched to the cws branch.
>Please fix and restart rebasing.
>
>FAILURE: cws aborted.
>--------
>
>The problem remains even I do "svn switch ..." in "cws_charunit".
>
>Could anybody help me on this problem ? I am eager to know the answer to to
>problem.
>Thank you in advance.
>
>
>
>
>lijian
>2009-03-05
>