To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96917
                 Issue #|96917
                 Summary|cws tools require english svn messages, gives useless 
                        |error-messages
               Component|tools
                 Version|DEV300m37
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|solenv
             Assigned to|hjs
             Reported by|cloph





------- Additional comments from [EMAIL PROTECTED] Thu Dec  4 21:21:40 +0000 
2008 -------
When trying to migrate a cws from cvs to svn I got this:

Create CWS branch in Subversion for migrating CWS 'cloph10' from CVS.
... check cws path:     'svn+ssh://[EMAIL PROTECTED]/ooo/cws/cloph10', OK
... create branch:
'svn+ssh://[EMAIL PROTECTED]/ooo/cws/cloph10'failed!

Revision 264876 übertragen.

This message is completely useless and bogus, since:
1) the command actually succeeded
2) The message doesn't give any hint at all wrt what makes it think that it 
failed.

Looking at the sources it is obvious:
http://pumbaa.ooodev.org:59145/source/xref/solenv/bin/cws.pl#register_child_workspace#2200
   2197     if ( $result[1] =~ /Committed revision (\d+)\./ ) {
   2198         print STDERR ", committed revision $1\n";
   2199     } else {
   2200         print STDERR "failed!\n";
   2201         print STDERR @result;
   2202     }

So it tries to match the output with the english output of subversion. 

####################
cws tools should either:
* just set LC_MESSAGES=C or similar for the svn command
* check whether svn's output is english and bail out otherwise (e.g. run svn
help or something similar)
* at least print some useful error message. A simple "Expected «foo», got «bar»"
shouldn't be too much to ask for.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to