bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ci breaks links unnecessarily & when it says file is unchanged


From: Paul Eggert
Subject: Re: ci breaks links unnecessarily & when it says file is unchanged
Date: Tue, 16 May 2017 00:58:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

L A Walsh wrote:
Paul Eggert wrote:
L A Walsh wrote:
1) Why are hardlinks _ever_ broken on checking a file in?

ci has always done that, since it may need to change the file and/or make it
read-only.
---
   Just because something had a design flaw to begin with is not a justification
for it remaining a bug.  If it *needs* to make it read-only, or needs to make a
change, then it is expected, but just to break links "in case".

I didn't say anything about "in case". You asked why are hardlinks _ever_ broken. They need to be broken when the working file's data or metadata need to change. I agree they don't need to be broken when nothing at all changes.

2) especially in in the case when it says "file is unchanged"

The diagnostic could be improved, yes. "file is unchanged" means the revision
is unchanged, not that the working file is untouched.
Yet it also indicates the original intent at the same time.  If nothing needs to
be done

No, sometimes the working file needs to be changed even if there is no difference in what's checked in, due to $Id$ expansion and the like.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]