[Bug 460239] Re: bash-completition wrong escapes special characters for mercurial

Peter Cordes peter at cordes.ca
Sat Nov 29 09:50:27 UTC 2014


OPs testcase works now.  Even did hg init in my tmp dir, to test that it
was filtering hg add to only show not-already-added paths.  Reopen this
if you can still reproduce, and give us a testcase.  (touch / mkdir some
stuff, hg init, and say what you typed and where you pressed tab)


** Changed in: bash-completion (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/460239

Title:
  bash-completition wrong escapes special characters for mercurial

Status in bash-completion package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: bash-completion

  When I do
  # hg add Ann<TAB>
  I get
  # hg add Annex A.txt

  Should be:
  # hg add Annex\ A.txt

  But! If I have file in the same directory, which name has same first letters, everything is OK.
  E.g.:
  # ls Ann*
  Annex A.txt
  Annex B.txt
  # hg add Ann<TAB>
  I get
  # hg add Annex\ 

  So, completition doesn't escape spaces (and other characters like '&')
  for mercurial when there is only one possibility for completition.
  When there are several choices all is OK.

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 9.04
  NonfreeKernelModules: nvidia wl
  Package: bash-completion 20080705ubuntu3
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=uk_UA.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash-completion
  Uname: Linux 2.6.28-15-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/460239/+subscriptions



More information about the foundations-bugs mailing list