-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sam Steingold wrote: | Mark A. Flacy wrote: | | On 03/13/2008 03:19:53 PM, Sam Steingold wrote: | |> 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") | | an alternative is to learn from "hg revert" which refuses to operate on | the whole repo unless --all is specified in a start contrast with "hg | commit" which does not require --all to operate on the whole repository. | specifically, when there is no selection, dvc should ask for | confirmation before operating on the whole repository. | this, of course, could be implemented by the 'confirm value of | dvc-status-no-selection-action.
BTW, "U" in the status buffer is different from "c" in that it operates by default on the file under the cursor as opposed to the whole repo. this is, of course, correct, but it is also quite inconsistent. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH3p6yPp1Qsf2qnMcRAgwXAJ9VwqlGeAmJh+Rm0Lsx7rrzHecpHwCfc4Q+ nbLR+eelvDG2V27Ae9luMiI= =5GG2 -----END PGP SIGNATURE----- _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
