[Bug 5297] New: Calling purge extension from API breaks every time the purge command gains a new parameter

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Jul 15 12:18:31 EDT 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5297

            Bug ID: 5297
           Summary: Calling purge extension from API breaks every time the
                    purge command gains a new parameter
           Product: Mercurial
           Version: 3.8.4
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: purge
          Assignee: bugzilla at selenic.com
          Reporter: gabor.stefanik at nng.com
                CC: mercurial-devel at selenic.com

We are using the guestrepo extension, which in turn calls the purge extension.
Every time a new parameter is introduced to the purge extension, it breaks
guestrepo, due to non-robust parameter access in purge (it treats absent
parameters as errors when called from API, rather than using their default
values like when called from command line).

Patch coming soon.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list