Re: [fossil-users] fossil rm --hard dir1

2017-12-13 Thread Warren Young
On Dec 13, 2017, at 2:21 PM, Zakero wrote: > > The "fossil clean" command has the "--emptydirs" option. That might be > useful for the "rm" command as well. If Fossil got that option, I’d probably forget that it existed a week after the change went in. I’d end up saying something like $

Re: [fossil-users] fossil rm --hard dir1

2017-12-13 Thread Zakero
On Wed, Dec 13, 2017 at 3:01 PM, Warren Young wrote: > On Dec 13, 2017, at 1:03 PM, jungle Boogie > wrote: > > > > On 13 December 2017 at 07:58, Warren Young wrote: > > > >> I’d feel differently if Fossil owned the directories, but it doesn’t. > They’re mine; leave them alone! > > > > Yes, I ag

Re: [fossil-users] fossil rm --hard dir1

2017-12-13 Thread Warren Young
On Dec 13, 2017, at 1:03 PM, jungle Boogie wrote: > > On 13 December 2017 at 07:58, Warren Young wrote: > >> I’d feel differently if Fossil owned the directories, but it doesn’t. >> They’re mine; leave them alone! > > Yes, I agree. I think this topic has been raised here in the past, > altho

Re: [fossil-users] fossil rm --hard dir1

2017-12-13 Thread jungle Boogie
On 13 December 2017 at 07:58, Warren Young wrote: > I’d feel differently if Fossil owned the directories, but it doesn’t. > They’re mine; leave them alone! Yes, I agree. I think this topic has been raised here in the past, although that was about removing files. Still, If I created the directo

Re: [fossil-users] fossil rm --hard dir1

2017-12-13 Thread Warren Young
On Dec 13, 2017, at 6:21 AM, Tino Lange wrote: > > The directory/directories will keep existing! Given that Fossil doesn’t know anything about directories, other than as containers for the files it manages, I’m not sure that isn’t the right thing. To have Fossil remove intermediate directories

[fossil-users] fossil rm --hard dir1

2017-12-13 Thread Tino Lange
Hi! When doing a $ fossil rm --hard dir1 it will unregister from fossil and then delete all files within the 'dir1' hierarchy. But: The directory/directories will keep existing! I need to do a $ rm -rf dir1 afterwards (so the whole --hard is mostly needless, since I need to do the additional

Re: [fossil-users] fossil rm followed by unix rm followed by update and files come back, is this desirable?

2012-02-04 Thread Dmitry Chestnykh
On Fri, 3 Feb 2012 09:57:47 -0700 Matt Welland wrote: > > > If I do: > > > > > > fossil rm some/file.txt > > > rm some/file.txt > > > > fossil commit > > > > People often prefer to commit when their work has reached some level > of completion or readiness and partially done commits can cause > un

Re: [fossil-users] fossil rm followed by unix rm followed by update and files come back, is this desirable?

2012-02-03 Thread Richard Hipp
On Fri, Feb 3, 2012 at 11:18 AM, Matt Welland wrote: > If I do: > > fossil rm some/file.txt > rm some/file.txt > ...do stuff... > fossil update > > then some/file.txt is resurrected which is really really annoying when you > just got your build to work and then because files that shouldn't be the

Re: [fossil-users] fossil rm followed by unix rm followed by update and files come back, is this desirable?

2012-02-03 Thread Tomek Kott
I think part of the original post was whether the documentation was correct. i.e., it says uncommitted changes are retained. I would argue that "fossil rm" is an uncommitted change, which should be retained. Either the documentation is wrong or there is a bug w.r.t. "fossil rm". As a work around,

Re: [fossil-users] fossil rm followed by unix rm followed by update and files come back, is this desirable?

2012-02-03 Thread Mike Meyer
On Fri, Feb 3, 2012 at 10:57 AM, Matt Welland wrote: > On Fri, Feb 3, 2012 at 9:46 AM, Dmitry Chestnykh > wrote: >> On Fri, 3 Feb 2012 09:18:32 -0700 Matt Welland wrote: >> > If I do: >> > fossil rm some/file.txt >> > rm some/file.txt >> fossil commit > People often prefer to commit when their wo

Re: [fossil-users] fossil rm followed by unix rm followed by update and files come back, is this desirable?

2012-02-03 Thread Matt Welland
On Fri, Feb 3, 2012 at 9:46 AM, Dmitry Chestnykh wrote: > On Fri, 3 Feb 2012 09:18:32 -0700 Matt Welland wrote: > > > If I do: > > > > fossil rm some/file.txt > > rm some/file.txt > > fossil commit > People often prefer to commit when their work has reached some level of completion or readiness a

Re: [fossil-users] fossil rm followed by unix rm followed by update and files come back, is this desirable?

2012-02-03 Thread Dmitry Chestnykh
On Fri, 3 Feb 2012 09:18:32 -0700 Matt Welland wrote: > If I do: > > fossil rm some/file.txt > rm some/file.txt fossil commit -- Dmitry Chestnykh http://www.codingrobots.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists

[fossil-users] fossil rm followed by unix rm followed by update and files come back, is this desirable?

2012-02-03 Thread Matt Welland
If I do: fossil rm some/file.txt rm some/file.txt ...do stuff... fossil update then some/file.txt is resurrected which is really really annoying when you just got your build to work and then because files that shouldn't be there suddenly reappear and things break. I can see where might be some c

Re: [fossil-users] fossil rm ./*

2010-06-24 Thread Kohn Bernhard
Oh no, I didn't meant to say, its important. And yes, you are right, I use this for an obscure corner case, and doing this with commandline is no problem. Best regards Bernhard ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://li

Re: [fossil-users] fossil rm ./*

2010-06-24 Thread Jeff Rogers
Kohn Bernhard wrote: > Hello all, > > > > I have experienced following behavior when removing files. > > > > I open a repository. I would like to delete all files, so I use > > fossil rm ./* > > In the output of the commandline the filenames (also with > subdirectories) with DELETED in f

Re: [fossil-users] fossil rm ./*

2010-06-24 Thread Richard Hipp
On Thu, Jun 24, 2010 at 10:37 AM, Kohn Bernhard wrote: > Hello all, > > > > I have experienced following behavior when removing files. > > > > I open a repository. I would like to delete all files, so I use > > fossil rm ./* > > In the output of the commandline the filenames (also with subdirecto

[fossil-users] fossil rm ./*

2010-06-24 Thread Kohn Bernhard
Hello all, I have experienced following behavior when removing files. I open a repository. I would like to delete all files, so I use fossil rm ./* In the output of the commandline the filenames (also with subdirectories) with DELETED in front appeared. When I try to commit the deleted files wit