Bug 79616 - Failed update changes file status to "up to date"
Summary: Failed update changes file status to "up to date"
Status: CONFIRMED
Alias: None
Product: cervisia
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Andre Woebbeking
URL:
Keywords:
: 100853 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-14 09:21 UTC by Paul Eggleton
Modified: 2021-03-09 05:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.