Package: mercurial
Version: 0.9.5-3
Severity: wishlist

Whenever you hg commit, mercurial will create a file like
/tmp/hg-editor-mX1MbE.txt and invoke $EDITOR on it. Because
the file already has contents, many editors will create a
backup file /tmp/hg-editor-mX1MbE.txt~ or similar. The
actual temp file hg wants to use (/tmp/hg-editor-mX1MbE.txt)
is later removed, but the backup files stay around.

An easy solution to this would be to use a temporary directory
and have the edited file inside it, e.g. use
/tmp/hg-editor-mX1MbE/commitmsg.txt and afterwards rm -rf the
temporary directory.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.25-rc7-wl-02674-g44c8520-dirty (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mercurial depends on:
ii  libc6                         2.7-9      GNU C Library: Shared libraries
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.7.7      automated rebuilding support for P

Versions of packages mercurial recommends:
ii  rcs                           5.7-23     The GNU Revision Control System

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to