Skip to content
Snippets Groups Projects
  1. Aug 27, 2010
  2. Aug 24, 2010
  3. Aug 21, 2010
  4. Aug 20, 2010
  5. Aug 21, 2010
  6. Aug 26, 2010
  7. Aug 17, 2010
  8. Aug 16, 2010
  9. Aug 13, 2010
  10. Aug 26, 2010
  11. Aug 25, 2010
  12. Aug 22, 2010
    • Brodie Rao's avatar
      alias: make shadowing behavior more consistent (issue2054) · 18e1e752
      Brodie Rao authored
      Currently, given an alias like the following:
      
          [alias]
          summary = summary --remote
      
      The alias might be executed - or it might not - depending on the order
      of the cmdtable dict.
      
      This happens because cmdalias gets assigned back to the cmdtable like so:
      
          cmdtable['summary'] = ...
      
      Yet '^summary|sum' is still in the table, so which one cmdutil.findcmd()
      chooses isn't deterministic.
      
      This patch makes cmdalias assign back to '^summary|sum'. It uses the same
      cmdtable key lookup that extensions.wrapcommand() does.
      18e1e752
  13. Aug 24, 2010
  14. Aug 13, 2010
  15. Aug 22, 2010
  16. Aug 24, 2010
  17. Aug 25, 2010
Loading