[PATCH] hgk: don't break on repositories with obsolete changesets

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Sep 29 17:45:27 CDT 2014



On 09/28/2014 06:21 AM, Andrew Shadura wrote:
> # HG changeset patch
> # User Andrew Shadura <andrew at shadura.me>
> # Date 1411910489 -7200
> #      Sun Sep 28 15:21:29 2014 +0200
> # Node ID 2905b2bd3977b438488126bd38734bb64fad1063
> # Parent  dd7041b135cfd4bc1f090a2ee98e30735d738fc5
> hgk: don't break on repositories with obsolete changesets

The change seems correct to me, but I cannot find a way to run this hgk 
extension to test it ☹

% 15:44 pyd at marginatus ~/src/mercurial-dev > hg --config extensions.hgk= 
view
/bin/sh: 1: hgk: not found
% 15:44 pyd at marginatus ~/src/mercurial-dev > PATH=$PWD/contrib/:$PATH hg 
--config extensions.hgk= view
Error in startup script: 'debug-config' is provided by the following 
extension:

     hgk           browse the repository in a graphical way

(use "hg help extensions" for information on enabling extensions)
hg: unknown command 'debug-config'
     while executing
"exec $env(HG) debug-config"
     (procedure "getconfig" line 4)
     invoked from within
"getconfig"
     invoked from within
"array set config [getconfig]"
     (file "/home/pyd/src/mercurial-dev/contrib//hgk" line 4113)

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list