I agree it’s not an everyday use case. I’ve been using fossil for nearly a year now, and it happened to me only once, just now. And, I’ve learned my lesson, so I’ll be more careful for this not to happen again.
However, this is the kind of situation that it may not bite often at all but if it ever bites you, it might hurt a lot as you’ll end up losing possibly the only copy of a file, as committing won’t include this one, and closing the repo won’t warn you about uncommitted changes, and you may go home happy thinking everything is in order... until you blissfully overwrite it (this now no longer read-only file) next time you open the repo with the wrong version. From: Stephan Beal Sent: Thursday, November 13, 2014 7:19 PM To: Fossil SCM user's discussion Subject: Re: [fossil-users] Possible bug: Failure to acknowledge changes after failing to overwrite write-protected file On Thu, Nov 13, 2014 at 6:11 PM, <to...@acm.org> wrote: And I have to ask: Why do you have to ask? :) A problem is a problem regardless of how it became evident. Because i'm deciding whether it's worth investing time to fix what might be a non-problem (or a problem outside fossil's scope) ;). FWIW: i generally cringe when people respond to posts with "why would you want to?" and should have said why i was asking in my initial reply. No, I don’t keep read-only files under fossil control, obviously. Note I used the word ‘happens’ to be read-only. Fair enough. The read-only status was set to temporarily protect this one file from being overwritten along with all other changed files in the repo. So, rather than answer Y/N to whether to overwrite each file individually from the whole lot, I set the read-only flag to the one I didn’t want overwritten, and answered Yes to all... In any case, i agree it's a bug, but looking into it isn't high on my personal prio list because it's a really weird edge case with relatively little impact (as perceived by my limited world view). Could i convince you to post a ticket for it, including the bits from your first post, so we don't lose track of it? -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf -------------------------------------------------------------------------------- _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users