On Tue, Feb 28, 2012 at 5:28 AM, Richard Hipp <d...@sqlite.org> wrote:

>
>
> On Tue, Feb 28, 2012 at 2:06 AM, Gour <g...@atmarama.net> wrote:
>
>> On Wed, 21 Dec 2011 12:25:19 -0500
>> Richard Hipp <d...@sqlite.org> wrote:
>>
>> > I fear to change it now, though, since it might really mess up people
>> > who are used to the older style.
>>
>> What about having something like:
>>
>> fossil rm --force|-f FILE1 FILE2 ...
>>
>> where using '--force' option would make Fossil remove files fromn *both*
>> the project and the disk?
>>
>
> I'm leaning more toward Fossil 2.0 that has a number of incompatible
> changes to the command-line interface, such as having "fossil rm" and
> "fossil mv" actually delete and rename the files.  To be clear, the
> repository file format and the sync protocol would continue to be
> compatible, so Fossil 1.x can interact with Fossil 2.x projects.  Only the
> operation of the various "fossil" commands would change, and only in ways
> that improve the interface, based on past experience.
>
> Assuming we go with Fossil 2.0, can somebody propose a list of interface
> changes that are needed.  We don't want to repeat this exercise if it can
> be avoided, so let's fix everything all at once.  Here's a start:
>
> (1)  "fossil rm" removes the files from the disk
> (2)  "fossil mv" renames the files on disk
>

This would be a very appreciated change but I do prefer a -f or some other
option to allow only the fossil db update without the filesystem change.

Also (although not an interface change) could mv semantics be made to
better match Unix mv on directories?

mv dira dirb  # renames dira to dirb if dirb does not exist (i.e. does a
recursive move on all contents)
mv dira dirb  # puts dira under dirb if dirb exists

I think fossil does not match Unix but am not sure how DOS behaves.


>
>>
>> Sincerely,
>> Gour
>>
>>
>> --
>> The senses are so strong and impetuous, O Arjuna,
>> that they forcibly carry away the mind even of a man
>> of discrimination who is endeavoring to control them.
>>
>> http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
>>
>> _______________________________________________
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
>
>
> --
> D. Richard Hipp
> d...@sqlite.org
>
> _______________________________________________
> 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

Reply via email to