| 
Created on 2007-09-20.11:51:45 by a_regidor, last changed 2017-07-30.23:08:13 by gh. 
 
  
   | msg2134 (view) | Author: a_regidor | Date: 2007-09-20.11:51:43 |  |  
   | 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 |  
   | msg2138 (view) | Author: droundy | Date: 2007-09-21.16:53:27 |  |  
   | This would be tricky (by which I don't mean a waste of time).  Something like
this could be done (probably not quite like you describe), but there are a
number of constraints the patch type would have to obey in order to be valid. |  |
 
| Date | User | Action | Args |  | 2007-09-20 11:52:02 | a_regidor | create |  |  | 2007-09-21 16:53:27 | droundy | set | status: unread -> unknown messages:
  + msg2138
 |  | 2008-02-06 16:19:43 | markstos | set | status: unknown -> deferred nosy:
  droundy, tommy, beschmi, kowey, a_regidor
 |  | 2008-05-14 13:11:46 | kowey | set | priority: feature -> wishlist nosy:
  + dagit
 title: Feature request: make darcs aware of function definitions -> wish: make darcs aware of function definitions
 |  | 2009-08-06 17:48:24 | admin | set | nosy:
  + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, a_regidor |  | 2009-08-06 20:44:09 | admin | set | nosy:
  - beschmi |  | 2009-08-10 22:08:35 | admin | set | nosy:
  + a_regidor, - markstos, darcs-devel, zooko, jast, Serware, mornfall |  | 2009-08-11 00:02:28 | admin | set | nosy:
  - dagit |  | 2009-08-25 18:00:14 | admin | set | nosy:
  + darcs-devel, - simon |  | 2009-08-27 13:59:00 | admin | set | nosy:
  tommy, kowey, darcs-devel, thorkilnaur, a_regidor, dmitry.kurochkin |  | 2009-09-02 15:39:09 | kowey | set | nosy:
  tommy, kowey, darcs-devel, thorkilnaur, a_regidor, dmitry.kurochkin |  | 2017-07-30 23:08:13 | gh | set | status: deferred -> given-up | 
 |