~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Erik Bågfors
  • Date: 2006-02-22 20:33:25 UTC
  • mto: (1558.1.9 Aaron's integration)
  • mto: This revision was merged to the branch mainline in revision 1574.
  • Revision ID: erik@bagfors.nu-20060222203325-33baad9691a8ed45
remove AliasConfig, based on input from abentley

Show diffs side-by-side

added added

removed removed

Lines of Context:
482
482
    """if an alias for cmd exists, returns the expanded command
483
483
       else returns None"""
484
484
    import bzrlib.config
485
 
    alias = bzrlib.config.AliasConfig().get_alias(cmd)
 
485
    alias = bzrlib.config.GlobalConfig().get_alias(cmd)
486
486
    if (alias):
487
487
        return alias.split(' ')
488
488
    return None