[PATCH 1 of 3 STABLE] pushkey: add more verbose debug output regarding pushkey

Adrian Buehlmann adrian at cadifra.com
Fri Jul 27 12:14:20 CDT 2012


On 2012-07-27 18:40, pierre-yves.david at logilab.fr wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1343313552 -7200
> # Branch stable
> # Node ID 2db9bef469b3bcae4f16938774f0e3051b604ee6
> # Parent  d9626b91623a0344cb54326c69abfb0cb1d04181
> pushkey: add more verbose debug output regarding pushkey
> 
> Very few data are displayed now making it hard to dbug phases and obsolete
                              now,                  debug
> related issue.
          issues.

[..]

> diff --git a/tests/test-acl.t b/tests/test-acl.t
> --- a/tests/test-acl.t
> +++ b/tests/test-acl.t

[..]

> @@ -863,14 +887,14 @@ file specified by acl.config does not ex
>    adding quux/file.py revisions
>    files: 3/3 chunks (100.00%)
>    added 3 changesets with 3 changes to 3 files
>    calling hook pretxnchangegroup.acl: hgext.acl.hook
>    acl: checking access for user "barney"
> -  error: pretxnchangegroup.acl hook raised an exception: [Errno 2] *: '../acl.config' (glob)
> +  error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config'
>    transaction abort!
>    rollback completed
> -  abort: *: ../acl.config (glob)
> +  abort: No such file or directory: ../acl.config

I suspect that removing these two (glob)s might be unwanted, as you are
partially reverting 117f9190c1ba done by Mads in November 2011:

http://selenic.com/repo/hg/diff/117f9190c1ba/tests/test-acl.t

Or: Why are you removing them?

OS error texts may cause problems when testing on Windows, as they may
be translated, or just be different compared to POSIX.




More information about the Mercurial-devel mailing list