-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthieu Moy wrote: | "Sam Steingold" <[EMAIL PROTECTED]> writes: | |> I am used to PCL-CVS: when I do something in the *cvs* buffer, it |> applies to the selection, or, absent selection, to the CURRENT file, and |> it also auto-updates the *cvs* buffer when the operation is over so that |> I see the new state right away. | | True, but in the world of distributed version control systems, "what | CVS does" is usually synonymous for "the wrong thing" ;-). | | PCL-CVS follows CVS philosophy, and DVC follows it's back-end's | philosophy as much as possible.
this all makes perfect sense (and I knew in advance that this would be in at least one reply :-) and is the correct behavior for someone who uses "modern distributed version control systems" EXCLUSIVELY. nevertheless, please try to look beyond this logic. the current behavior leads to user errors when the said sad user has to switch between dvc and pcl-cvs frequently. my suggestion that you elided - -- by default, an operation in the *status* buffer applies to the file ~ under cursor only, not the whole repository. ~ this can be implemented as a user option ~ dvc-status-no-selection-action which can have 3 values: ~ == 'repository (current DVC behavior) ~ == 'current-file (PCL-CVS behavior) ~ == 'error (signal an error "no selection") permits the users to "play it safe" (when he has to switch often between dvc and pcl-cvs) and set it to 'error, while using the usual "whole repo" conventions when he is not using cvs. this will also simplify user transition from cvs to distributed VCs. Note that I am not even suggesting that you change the default behavior (even though as soon as dvc is incorporated into emacs, I _will_ argue that pcl_cvs will need a similar variable AND that both variables should be set to 'error by default :-). all I am asking at this time is an option to help me avoid doing "hg rollback" all the time (btw, what is the bzr/git analogue or rollback?) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH2YxoPp1Qsf2qnMcRAtQsAKCG4erBRJzKAX01Y7quDP7jVWDM2wCghiw+ bB7JYAjiTzCnhRgiZ6IBAXg= =TQOw -----END PGP SIGNATURE----- _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
