monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [PATCH] _MTN/log pre-specified magic line quickie


From: Ben Walton
Subject: Re: [Monotone-devel] [PATCH] _MTN/log pre-specified magic line quickie
Date: Mon, 18 Dec 2006 14:59:14 -0500

Thinking some more about this, it could be implemented as something like:

CMD(patch...
get set of unknown/ignored files: pre;
run patch as child process;
get set of unknown/ignored files: current;
'diff' pre, current: difference;
add files to workspace: difference;

This would allow the diff format files to change in the future, as
long as patch can still read them.  It also removes the need to
internally parse the files, which would be re-inventing the wheel,
imho, as patch already does this.  The user would still need to commit
explicitly.

The downside is reliance on an external tool, which would most likely
have negative effects on the non-unix users.  I'm confident that patch
is available for all unix platforms, but the windows folks would need
cygwin then, I believe....I guess this is a large downside.

Anyone care to comment on this thought process?
-Ben

On 12/18/06, Thomas Keller <address@hidden> wrote:
Ben Walton schrieb:
> Ok, that's cool.  I'll have a look at it anyway.  It may be a larger
> function than I'm ready for yet anyway...Nothing like a good challenge
> though! :)

Fine! But don't forget to send Nathaniel your public key in the meantime
to get commit access for venge.net. Then you can start to develop in
your own branch.

Thomas.

--
ICQ: 85945241 | SIP: 1-747-027-0392 | http://www.thomaskeller.biz
> Guitone, a frontend for monotone: http://guitone.berlios.de
> Music lyrics and more: http://musicmademe.com



--
---------------------------------------------------------------------------------------------------------------------------
Ben Walton <address@hidden>

Unanswered questions are far less dangerous than unquestioned answers.
- The Roadside Pulpit
---------------------------------------------------------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]