emacs loads version control packages in batch mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs23 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs23
If you are in a source repository, emacs loads the version control
package for that repository in batch mode. The problem can be
reproduced as follows:
# Create an empty directory.
$ mkdir tmp
$ cd tmp
# Verify there is no problem in the empty directory.
# These commands should not produce any output.
$ emacs -Q --batch --load /dev/null
$ emacs -Q --batch --load /dev/null foo
# Pretend to put the directory under version control.
$ mkdir .git .hg .svn CVS
$ touch CVS/Entries .svn/entries
# Verify that the first command is still ok.
$ emacs -Q --batch --load /dev/null
# Verify that the second command prints the loading messages
# which are inappropriate for batch mode.
$ emacs -Q --batch --load /dev/null foo
Loading vc-cvs...
Loading vc-svn...
Loading vc-git...
Loading vc-hg...