Closed GoogleCodeExporter closed 8 years ago
Peter, thank you for the patch! We will review and apply.
Original comment by kroko...@gmail.com
on 17 Jul 2011 at 4:24
Peter, thank you for the patch! We will review and apply.
Original comment by kroko...@gmail.com
on 17 Jul 2011 at 4:24
Vladimir, please review the patch and apply if you have not objections.
Original comment by kroko...@gmail.com
on 17 Jul 2011 at 4:25
Original comment by kroko...@gmail.com
on 18 Jul 2011 at 1:52
I have reviewed and applied this patch towards trunk. Thanks!
Original comment by kroko...@gmail.com
on 20 Jul 2011 at 1:12
On second thought - looks like it is removed DRY_RUN support.
Original comment by kroko...@gmail.com
on 20 Jul 2011 at 1:14
fixed now
Original comment by kroko...@gmail.com
on 20 Jul 2011 at 1:18
I don't believe that dry-run support is actually removed by the original patch,
because even though the dry-run if statement is removed from Exec.execute(),
there is still one in Utils.execute().
The reason to remove the statement from Exec.execute() is because it is useful
for dry-run mode to log the commands that would have been executed. Since that
logging is performed by Utils.execute() just before its own dry-run check, the
redundant dry-run check in Exec.execute() causes even that logging to be
skipped, severely reducing the utility of dry-run mode to begin with (at least
with <exec>).
-peter
Original comment by petenewc...@gmail.com
on 20 Jul 2011 at 2:52
yes, i have realized this bit later. thanks.
Original comment by kroko...@gmail.com
on 20 Jul 2011 at 2:55
Ah, just read the commit logs... I see that you figured that out already.
Thanks!
-peter
Original comment by petenewc...@gmail.com
on 20 Jul 2011 at 2:57
Original issue reported on code.google.com by
petenewc...@gmail.com
on 17 Jul 2011 at 3:47Attachments: