tests/test-mq-qsave.t
author Bryan O'Sullivan <bryano@fb.com>
Tue, 18 Dec 2012 17:33:32 -0800
changeset 18096 cd53e40ab0e2
parent 12324 b701610f6c56
child 49621 55c6ebd11cb9
permissions -rw-r--r--
inotify: don't fall over just because of a dangling symlink Previously, the inotify server failed to start if .hg/inotify.sock was a symlink that pointed to a non-existent path. This behaviour does not seem to make any sense. Now, if we encounter a broken symlink, we unlink it and continue.

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "mq=" >> $HGRCPATH

  $ hg init

  $ echo 'base' > base
  $ hg ci -Ambase
  adding base

  $ hg qnew -mmqbase mqbase

  $ hg qsave
  $ hg qrestore 2
  restoring status: hg patches saved state