Package: myrepos Version: 1.20160123 Severity: normal Tags: patch Hi,
mr skip hours_since does not find a place to put the flag file in a vcsh fake bare repository. The following patch places the flag file into the root directory of a fake bare repository, which is detected by existence of a refs/heads directory. --- /usr/bin/mr.orig 2016-06-27 16:40:23.791937578 +0200 +++ /usr/bin/mr 2016-06-27 16:40:26.567928779 +0200 @@ -2021,6 +2021,14 @@ break fi done + if [ -z "$flagfile" ]; then + for dir in refs/heads; do + if [ -e "$MR_REPO/$dir" ]; then + flagfile="$MR_REPO/.mr_last$1" + break + fi + done + fi if [ -z "$flagfile" ]; then error "cannot determine flag filename" fi Greetings Marc -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.6.3-zgws1 (SMP w/6 CPU cores) Locale: LANG=en_DK.utf8, LC_CTYPE=en_DK.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) myrepos depends on no packages. Versions of packages myrepos recommends: ii libhtml-parser-perl 3.72-1 pn libio-pty-easy-perl <none> ii libwww-perl 6.15-1 ii perl 5.22.2-1 Versions of packages myrepos suggests: pn ack-grep <none> pn bzr <none> ii curl 7.47.0-1 pn cvs <none> pn darcs <none> pn fossil <none> ii git [git-core] 1:2.8.1-1 pn kdesdk-scripts <none> ii liburi-perl 1.71-1 pn mercurial <none> ii subversion 1.9.4-1 pn subversion-tools <none> ii vcsh 1.20151229-1 -- no debconf information