Bug 79616

Summary: Failed update changes file status to "up to date"
Product: [Applications] cervisia Reporter: Paul Eggleton <bluelightning>
Component: generalAssignee: Andre Woebbeking <woebbeking>
Status: CONFIRMED ---    
Severity: normal CC: ieure, kde-bugzilla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul Eggleton 2004-04-14 09:21:51 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages
OS:          Linux

If you perform an Update on a modified file and it fails (eg. because CVS couldn't connect to the server), the file's status is changed to "Up to date" even though it isn't.
Comment 1 Andre Woebbeking 2004-07-23 19:28:29 UTC
Hi Paul,

thanks for your report. This issue is caused by an inconsistency of CVS. The command cvs returns 0 on success else 1. But there is one exception, if cvs finds a conflict it returns 1 too. So Cervisia handles 0 and 1 as successful execution.

I don't know how to solve this in Cervisia right now.
Comment 2 Christian Loose 2005-05-17 12:09:23 UTC
*** Bug 100853 has been marked as a duplicate of this bug. ***
Comment 3 Christian Loose 2005-05-17 12:46:30 UTC
Maybe we can retrieve and remember the correct status of the execution in UpdateView::processUpdateLine()? Similar to what we have in ProgressDialog::processOutput().
Comment 4 Daniel Hahler 2005-11-09 01:10:07 UTC
Here's another example of the same failure on committing:
cvs -f commit -l -m 'xxx' 'path/to/file' 2>&1
ssh_exchange_identification: Connection closed by remote host 
cvs [commit aborted]: end of file from server (consult above messages if any)
[Exited with status 1]
Comment 5 Justin Zobel 2021-03-09 05:30:49 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.