Skip to content
Snippets Groups Projects
  • Pulkit Goyal's avatar
    06e75fbf9d6b
    narrow: check for servers' narrow support before doing anything (BC) · 06e75fbf9d6b
    Pulkit Goyal authored
    Recently we introduced narrow capabilities for the server. So we can check
    whether a server has narrow clone support or not before doing anything. This is
    BC because new clients won't be able to extend from old narrow-enabled servers.
    I *think* narrow is not used much (maybe just inside Google), also it's
    experimental so I think we can change this. We will need to this someday anyway.
    
    The "doesn't" in error is changed to "does not" because I think that's we do in
    core. I also changed one more instance of the error message to use 'does not'
    for consistency.
    
    Differential Revision: https://phab.mercurial-scm.org/D4789
    06e75fbf9d6b
    History
    narrow: check for servers' narrow support before doing anything (BC)
    Pulkit Goyal authored
    Recently we introduced narrow capabilities for the server. So we can check
    whether a server has narrow clone support or not before doing anything. This is
    BC because new clients won't be able to extend from old narrow-enabled servers.
    I *think* narrow is not used much (maybe just inside Google), also it's
    experimental so I think we can change this. We will need to this someday anyway.
    
    The "doesn't" in error is changed to "does not" because I think that's we do in
    core. I also changed one more instance of the error message to use 'does not'
    for consistency.
    
    Differential Revision: https://phab.mercurial-scm.org/D4789