On Monday 26 May 2008, Johannes Schindelin wrote: > This patch adds an option to make hg-to-git quiet by default. Note: > it only suppresses those messages that would be printed when > everything was up-to-date. > > Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx> > --- > > Yeah, I know, a Python hater codes in Python. Well, somebody told > me I had to code in it until I do not hate it anymore. Looks ok to me. :) > contrib/hg-to-git/hg-to-git.py | 18 +++++++++++++----- > 1 files changed, 13 insertions(+), 5 deletions(-) > > diff --git a/contrib/hg-to-git/hg-to-git.py > b/contrib/hg-to-git/hg-to-git.py index d72ffbb..daad399 100755 > --- a/contrib/hg-to-git/hg-to-git.py > +++ b/contrib/hg-to-git/hg-to-git.py > @@ -46,6 +46,7 @@ options: > for incrementals > -n, --nrepack=INT: number of changesets that will trigger > a repack (default=0, -1 to deactivate) > + -v, --verbose: be verbose > > required: > hgprj: name of the HG project to import (directory) > @@ -75,15 +76,18 @@ def getgitenv(user, date): > > state = '' > opt_nrepack = 0 > +verbose = '' Maybe this should be verbose = false since it indicates your intent to exclusively use this variable as a boolean. The rest is ok, AFAICS. Have fun! :) ...Johan -- Johan Herland, <johan@xxxxxxxxxxx> www.herland.net -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html