[PATCH 1 of 2] util_win32: add missing valname param to query_val function

Matt Mackall mpm at selenic.com
Mon Feb 4 09:51:19 CST 2008


On Sun, 2008-02-03 at 23:11 -0800, Lee Cantey wrote:
> # HG changeset patch
> # User Lee Cantey <lcantey at gmail.com>
> # Date 1202108896 28800
> # Node ID ddd5b1a7984fce0a23062804d54454ddbed45bfa
> # Parent  83d193a513c80dfad63c5c7f8a26fa52f902caa9
> util_win32: add missing valname param to query_val function
> 
> diff -r 83d193a513c8 -r ddd5b1a7984f mercurial/util_win32.py
> --- a/mercurial/util_win32.py	Thu Jan 31 22:32:11 2008 -0600
> +++ b/mercurial/util_win32.py	Sun Feb 03 23:08:16 2008 -0800
> @@ -202,7 +202,7 @@
>      except ImportError:
>          return None
>  
> -    def query_val(scope, key):
> +    def query_val(scope, key, valname):
>          try:
>              keyhandle = OpenKey(scope, key)
>              return QueryValueEx(keyhandle, valname)[0]

Applied, thanks.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list