Package: etckeeper
Version: 0.53
Severity: wishlist

Hello,

using Mercurial as VCS I get modified .etckeeper files all over the
place while using etckeeper, for example while doing a commit using
the -A/--addremove option where the added files are not root/root and
644. So I have to commit the permissions separately, which obviously
clutters my VCS log.

Searching for the reason for this behavior I found
http://mercurial.selenic.com/bts/issue1030, so I tried using the
"pre-commit" hook and this seems to work great, solving the issue with
the uncommited .etckeeper file.

So I think it would be nice to use "pre-commit" instead of "precommit"
for the etckeeper line in hgrc, at least for new installations.

Cheers
Wolfgang

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
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 etckeeper depends on:
ii  bzr                          2.3.1-1     easy to use distributed version co
ii  debconf [debconf-2.0]        1.5.38      Debian configuration management sy
ii  git [git-core]               1:1.7.4.1-5 fast, scalable, distributed revisi
ii  mercurial                    1.8.1-3     scalable distributed version contr

Versions of packages etckeeper recommends:
ii  cron                          3.0pl1-116 process scheduling daemon

Versions of packages etckeeper suggests:
ii  sudo                          1.7.4p6-1  Provide limited super user privile

-- Configuration Files:
/etc/etckeeper/etckeeper.conf changed:
VCS="hg"
AVOID_DAILY_AUTOCOMMITS=1
AVOID_COMMIT_BEFORE_INSTALL=1
HIGHLEVEL_PACKAGE_MANAGER=apt
LOWLEVEL_PACKAGE_MANAGER=dpkg


-- debconf information:
  etckeeper/purge: true
  etckeeper/commit_failed:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to