Re: [fossil-users] forget binary files

2015-08-05 Thread Stephan Beal
On Thu, Aug 6, 2015 at 8:26 AM, Luca Ferrari wrote: > I suspect the answer will be "NO", Correct. > but any chance I can export only a > subtree of the repository (along with its history) and import into a > new repositorym so to avoid having binaries? > Or any chance to force sqlite to forge

Re: [fossil-users] forget binary files

2015-08-05 Thread Luca Ferrari
On Wed, Aug 5, 2015 at 4:52 PM, Andy Goth wrote: > On 8/4/2015 6:06 AM, Stephan Beal wrote: >> On Tue, Aug 4, 2015 at 1:02 PM, David Mason > > 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

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] quick poll: do you generally use add/rm or mv

2015-08-05 Thread Andy Bradford
Thus said Andy Goth on Wed, 05 Aug 2015 10:35:56 -0500: > 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. Slight pedantry (with loose definitions) here... Only under c

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 4:02 PM, Warren Young wrote: > On Aug 5, 2015, at 9:35 AM, Andy Goth wrote: > > > > It creates an empty file called dir2 and leaves dir/file alone. > > Okay, this isn’t an argument about proper semantics after all, it’s a bug > report. The behavior you’re seeing is simply

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

2015-08-05 Thread Warren Young
On Aug 5, 2015, at 9:35 AM, Andy Goth wrote: > > It creates an empty file called dir2 and leaves dir/file alone. Okay, this isn’t an argument about proper semantics after all, it’s a bug report. The behavior you’re seeing is simply wrong. I suspect the core problem is that Fossil doesn’t vers

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 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 directory is moved,

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 > 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 > really excelle

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 wrote: > On 8/4/2015 12:59 AM, Stephan Beal wrote: > > On Mon, Aug 3, 2015 at 9:04 PM, Ross Berteig > > wrote: > >> And then, there will be fresh set of edge cases with subtly > >> different behavior on Windows. And for that

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 Michai Ramakers
On 5 August 2015 at 17:35, Andy Goth 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 > MOVED_FIL

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 wrote: >> On 8/3/2015 3:37 PM, Warren Young wrote: >>> On Aug 3, 2015, at 12:49 PM, Andy Goth wrote: Any plans to bring them in sync? >>> >>> We had a long thread about it months ago: >> >> Pretty sure he was ta

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 > 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 have the sa

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 > 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 the same