On 9/20/07, Richard Levitte <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]> on Thu, 20 Sep 2007 15:42:42 +0200, Thomas 
> Keller <[EMAIL PROTECTED]> said:
> me> So, the only way (currently) to determine if the current workspace
> me> has changes or not, is to look at the output of mtn au
> me> get_revision. If this contains a dummy new_manifest stanza, then
> me> you're good to go.
>
> As my output showed, this is false.
>
> However, if that's good enough, you can use 'mtn list changed' and see
> if it outputs any lines.

Yes, this might work.

I can have a script that gets the base_revision_id and then only get
current_revision_id if the result of mtn ls changed is not empty, else
uses the earlier revision id (which shows there were no changes).

Going to try it. Thanks to both of you!


Regards,
~Nuno Lucas

>
> Cheers,
> Richard
>
> -----
> Please consider sponsoring my work on free software.
> See http://www.free.lp.se/sponsoring.html for details.
>
> --
> Richard Levitte                         [EMAIL PROTECTED]
>                                         http://richard.levitte.org/
>
> "When I became a man I put away childish things, including
>  the fear of childishness and the desire to be very grown up."
>                                                 -- C.S. Lewis
>
>
> _______________________________________________
> Monotone-devel mailing list
> Monotone-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/monotone-devel
>


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to