Michael Olson <[EMAIL PROTECTED]> writes:

> Stefan Reichör <[EMAIL PROTECTED]> writes:
>
>> The following function should do it:
>>
>> (defun bzr-remove-files (&rest files)
>>   "Run bzr remove."
>>   (message "bzr-remove-files: %s" files)
>>   (dvc-run-dvc-sync 'bzr (append '("remove") files)
>>                     :finished (dvc-capturing-lambda
>>                                   (output error status arguments)
>>                                 (message "bzr remove finished"))))
>>
>> I will add it soon to my branch.
>
> The thing is, that doesn't remove the file from the filesystem, just
> From bzr, unlike tla's remove command.  Perhaps there could be two
> variants: one that just does (mapcar #'delete-file files), counting on
> bzr to realize that the file has been deleted, and one that does the
> above.

Good idea.
I normally do that kind of stuff via C-x C-j to switch to the dired view.
That works very well for only one file. But it gets cumbersome for more files.

So I have implemented the new function dvc-purge-files to delete
files, bypassing the revision control system.


Stefan.

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to