I second your request -- perhaps, there should be an option for commit  
to remove missing files,
which does something like Michael suggested, but built-in.

mich...@isolde:~/junk$ fossil changes | grep ^MISSING | sed 's/ 
^MISSING *//' | xargs fossil rm

On 20.10.2009, at 8:15, Joshua Paine wrote:

> So lets say I'm building a commit, and there are some files I want to
> add and others I don't. But I accidentally add one of the ones I  
> didn't
> want to add. I haven't committed yet. How can I un-add the undesired
> file?
>
> Or suppose I have created a file, accidentally added it, and then
> deleted it with standard rm, not fossil rm. Now commit fails because  
> the
> file is missing. How can I un-add this missing file?
>
> The only thing I've found so far is to close the repository with -f  
> and
> reopen it. Of course, this also destroys the changes I meant to  
> commit.


--
Dmitry Chestnykh
Coding Robots

http://www.codingrobots.com
[email protected]




_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to