Traversing symlinks

Martin Geisler mg at aragost.com
Mon May 16 12:57:59 CDT 2011


Hi guys,

Way back in 2007, this changeset was added:

  http://selenic.com/hg/rev/d316124ebbea

It makes Mercurial abort when it encounters a symlink on the way to a
file -- even when the symlink points inside the repository:

  $ ln -s contrib extra
  $ hg status extra/mq.el
  abort: path 'extra/mq.el' traverses symbolic link 'extra'

This seems a tad too restrictive to me, and Bryan did also flag this in
the test and commit message.

Would anybody object to me lifting this restriction?

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial-devel mailing list