Re: [fossil-users] check-in-edit branch ready?

2015-08-05 Thread Andy Bradford
Thus said Joe Mistachkin on Tue, 28 Jul 2015 21:02:49 -0700: It might be nice to have test coverage for the new command. Ok, this has been added: http://www.fossil-scm.org/index.html/artifact/c380f431db6dd227 Thanks for suggesting this as it was most instrumental in discovering a segfault,

Re: [fossil-users] forget binary files

2015-08-05 Thread Andy Goth
On 8/4/2015 6:06 AM, Stephan Beal wrote: On Tue, Aug 4, 2015 at 1:02 PM, David Mason dma...@ryerson.ca mailto:dma...@ryerson.ca wrote: Just be careful not to shun 0 length files or you won't be able to commit a 0-length file until you've cleared the shun table (because all 0-length files have

Re: [fossil-users] quick poll: do you generally use add/rm or mv

2015-08-05 Thread Andy Goth
On 8/4/2015 12:59 AM, Stephan Beal wrote: On Mon, Aug 3, 2015 at 9:04 PM, Ross Berteig r...@cheshireeng.com mailto:r...@cheshireeng.com wrote: And then, there will be fresh set of edge cases with subtly different behavior on Windows. And for that matter, do all versions of Unix-descendents mv

Re: [fossil-users] quick poll: do you generally use add/rm or mv

2015-08-05 Thread Andy Goth
On 8/4/2015 2:02 PM, Warren Young wrote: On Aug 3, 2015, at 4:35 PM, Andy Goth andrew.m.g...@gmail.com wrote: On 8/3/2015 3:37 PM, Warren Young wrote: On Aug 3, 2015, at 12:49 PM, Andy Goth andrew.m.g...@gmail.com wrote: Any plans to bring them in sync? We had a long thread about it months

Re: [fossil-users] quick poll: do you generally use add/rm or mv

2015-08-05 Thread Michai Ramakers
On 5 August 2015 at 17:35, Andy Goth andrew.m.g...@gmail.com wrote: Let's take one case where Fossil and Unix disagree about mv. mkdir -p x/dir fossil new x.fossil cd x f open ../x.fossil echo hello dir/file f addremove f mv -hard dir dir2 The last command prints: RENAME dir dir2

Re: [fossil-users] fine(r) commit granularity

2015-08-05 Thread Andy Goth
On 8/4/2015 3:53 PM, Warren Young wrote: It would be insufficient for apply --partial to just learn to recognize already-applied diff chunks as patch(1) does, because the chunks might have been modified before being checked in. Thus, a robust implementation of apply --partial would need to

Re: [fossil-users] quick poll: do you generally use add/rm or mv

2015-08-05 Thread Matt Welland
On Wed, Aug 5, 2015 at 8:01 AM, Andy Goth andrew.m.g...@gmail.com wrote: On 8/4/2015 12:59 AM, Stephan Beal wrote: On Mon, Aug 3, 2015 at 9:04 PM, Ross Berteig r...@cheshireeng.com mailto:r...@cheshireeng.com wrote: And then, there will be fresh set of edge cases with subtly different

Re: [fossil-users] quick poll: do you generally use add/rm or mv

2015-08-05 Thread Andy Goth
On 8/5/2015 12:34 PM, Matt Welland wrote: On Wed, Aug 5, 2015 at 8:01 AM, Andy Goth andrew.m.g...@gmail.com mailto:andrew.m.g...@gmail.com wrote: http://www.mail-archive.com/fossil-users%40lists.fossil-scm.org/msg20758.html I have had people I support run into that several times. It would be

Re: [fossil-users] quick poll: do you generally use add/rm or mv

2015-08-05 Thread Ron W
On Wed, Aug 5, 2015 at 11:35 AM, Andy Goth andrew.m.g...@gmail.com wrote: Unix mv would have renamed the directory from dir to dir2, i.e. made the new directory, moved all files and subdirectories into it, then removed the old directory. Actually, the directory just gets rename. And if the