monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Feature request: mtn rebase


From: Daniel Carrera
Subject: Re: [Monotone-devel] Feature request: mtn rebase
Date: Fri, 10 Oct 2008 23:30:47 +0200
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Nathaniel Smith wrote:
NB that you probably can't implement this in a fully correct way in
Lua, because you need to move any pending adds/drops/renames so that
they apply to the new base revision; just changing the base_revision
field won't do that.  If all you have are file edits, then things may
be fine; otherwise there's a chance of your workspace becoming
inconsistent, and subsequent mtn commands will notice this and refuse
to work.

It would be quite easy to implement in mtn itself, though, because it
has all the high-level code for handling file trees already.  Just do
something like (untested):

Any chance that someone who already knows the sources could implement this feature? It would be a lot easier for you than it is for me. I only began using Monotone on Wednesday. The fact that I already understand as much as I do is a testament to its design and documentation. But still, it's only 2 days.

Daniel.




reply via email to

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