Hello, i use this code to update the status-buffer when i add files or
when i revert files:

,----
| (defadvice dvc-add-files (after reload-status-buffer)
|   "reload dvc-status after adding files"
|   (dvc-status))
| (ad-activate 'dvc-add-files)
| 
| (defadvice dvc-revert-files (after reload-status-buffer)
|   "reload dvc-status after reverting files"
|   (dvc-status))
| (ad-activate 'dvc-revert-files)
`----

That is working fine for me:
When i add files in status, i have immediately the "A" of add instead of
having the "?" in front of file, same thing for revert.

May be these changes can be applied in dvc (without advices) if it don't
affect something else i didn't think about.
-- 
A + Thierry
Pub key: http://pgp.mit.edu


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

Reply via email to