[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 306237] New: the cvs plugin interprets the return code of 'cvs diff' as error
From:       Bernd Tegge <betegge () gmx ! net>
Date:       2012-09-04 9:13:15
Message-ID: bug-306237-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=306237

            Bug ID: 306237
          Severity: normal
           Version: 4.3.1
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: the cvs plugin interprets the return code of 'cvs
                    diff' as error
    Classification: Unclassified
                OS: Linux
          Reporter: betegge@gmx.net
          Hardware: Debian testing
            Status: UNCONFIRMED
         Component: all build tools
           Product: kdevelop

'cvs diff' returns an exit code != 0 if the versions differ. Kdevelop
interprets this (wrongly) as failure. Thus it is impossible to use the review
mode with cvs.

Excerpt from the cvs manpage:
        If cvs is successful, it returns a successful status; if there is an
error, it prints an error message and returns  a failure status.  The one
exception to this is the cvs diff command.  It will return a successful  status
 if  it found no differences, or a failure status if there were differences or
if there was an error.  Because this behavior provides no good way to detect
errors, in the future it is possible that cvs diff will be  changed  to  behave
 like the other cvs commands.


Reproducible: Always

Steps to Reproduce:
1. check out some source from cvs repo
2. change checked out source
3. choose CVS->show differences on file in project.
Actual Results:  
usable diff output and with a kdevelop error message about an unknown exit code
1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic