monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] automate get_current_revision [was --non-interactiv


From: Nuno Lucas
Subject: Re: [Monotone-devel] automate get_current_revision [was --non-interactive ... ]
Date: Wed, 20 Feb 2008 11:55:29 +0000

On Feb 20, 2008 10:12 AM, Thomas Keller <address@hidden> wrote:
> > Looking at differences:
> > 1. Your version fails if there are no changes in workspace. Dunno if
> > it's good or not. (after few minutes of thinking it's rather good).
>
> Given the fact that you can't do anything with the revision it spits out
> in this case and that all the "new" information you get there is a bogus
> new_manifest ID and the format version of the revision format (the
> old_revision can easily be queried already by get_base_revision_id), I
> think it would be indeed a good idea to put that check in there. I'll
> leave that to you (+ the obligatory test), so we don't do that again
> both - I have to return to my main work some time today anyways ;)

Sorry to interrupt, but are you talking about "automate
get_current_revision_id" ?
If it is, I make use of it in a script and count on the fact that is
returns the same as "get_base_revision_id" if there are no changes on
the workspace.
If it's not, forget this...


Regards,
~Nuno Lucas




reply via email to

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