# # # patch "Changes" # from [c368b3d91a1775b1fa4082fc9658a68a4f9e8320] # to [2d66dee01535bcfb7b5c84655b632f28cb21d0b6] # # patch "lib/Monotone/AutomateStdio.pod" # from [fb57c573693c56ee4289335b19ee5a8b81799172] # to [ade191d9e5c4b7f689052b18f93539dfa41709bf] # ============================================================ --- Changes c368b3d91a1775b1fa4082fc9658a68a4f9e8320 +++ Changes 2d66dee01535bcfb7b5c84655b632f28cb21d0b6 @@ -1,9 +1,5 @@ Revision history for Perl extension Mono Revision history for Perl extension Monotone::AutomateStdio. -0.01 Sun Nov 9 12:48:46 2008 Anthony Cooper - - original version; created by h2xs 1.23 with options - -X -n Monotone::AutomateStdio - 0.02 Wed Jan 7 16:00:00 2009 Anthony Cooper - Updated to work with Monotone version 0.42 (added the $mtn->file_merge(), $mtn->lua() and $mtn->read_packets() methods and @@ -34,3 +30,7 @@ 0.02 Wed Jan 7 16:00:00 2009 Anthony Co have included a new EXAMPLES section, which details some of the less obvious features, and an AUTHORS section. I have also revamped the RETURN VALUE section to make it more readable). + +0.01 Sun Nov 9 12:48:46 2008 Anthony Cooper + - original version; created by h2xs 1.23 with options + -X -n Monotone::AutomateStdio ============================================================ --- lib/Monotone/AutomateStdio.pod fb57c573693c56ee4289335b19ee5a8b81799172 +++ lib/Monotone/AutomateStdio.pod ade191d9e5c4b7f689052b18f93539dfa41709bf @@ -918,7 +918,7 @@ If the Monotone database is locked then, =head2 Silently Retrying Operations When The Database Is Locked If the Monotone database is locked then, by default, this class will report -that condition as a warning. However, it may be more convenient to ask this +that condition as a warning. However it may be more convenient to ask this class to silently retry the operation until it succeeds. This can easily be done by using the database locked handler as follows: @@ -930,11 +930,10 @@ will silently sleep for one second befor =head2 Dealing With Processing Lockouts And Delays -Sometimes you may make a complex request to the mtn subprocess that takes a -number of seconds to process. Consequently this class will take that amount of -time, plus a very small processing overhead, to return. Whilst one can get -around this by using threads, another way is to register an I/O wait -handler. For example: +Some requests sent to the mtn subprocess can take several seconds to complete +and consequently this class will take that amount of time, plus a very small +processing overhead, to return. Whilst one can get around this by using +threads, another way is to register an I/O wait handler. For example: Monotone::AutomateStdio->register_io_wait_handler (sub { WindowManager->instance()->update_gui(); }, 1);