New submission from =?iso-8859-1?q?Antonio=20Regidor=20Garc=EDa?= <[EMAIL PROTECTED]>:
Hi, Now, if patches make changes to different lines or different files, they don't conflict. It would be nice to have the same behaviour for (Haskell) function definitions. There is 2 possible ways to do this: 1) New patch types to add a function definition, remove a function definition, and change a function definition. 2) Do this automatically, like in the case of lines, with --haskell-mode or something like that, manage definitions the same way as lines are managed now, so that darcs knows which definitions a patch changes, and regardless of the type of patches, patches to different definitions don't conflict. In this case, lines should be managed, also. I didn't read darcs source (yet) but probably 1) should not be difficult using some parsing library to split a file in function definitions. Antonio Regidor García ____________________________________________________________________________________ Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html ---------- messages: 2134 nosy: a_regidor, beschmi, droundy, kowey, tommy status: unread title: Feature request: make darcs aware of function definitions __________________________________ Darcs bug tracker <[EMAIL PROTECTED]> <http://bugs.darcs.net/issue539> __________________________________ _______________________________________________ darcs-devel mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-devel
