comparison mercurial/pathutil.py @ 28388:b1d35e2e1af6 stable

mq: restrict generated patch name to 75 characters (issue5117) Super long first line in description lead to very long file name that windows is unhappy about. We restrict the name to 75 char to avoid the issue. 75 seems fine and leave some extra room for '__#' suffix in case of conflict. I does not seems worthwhile to add a dedicated config option to configure the length. It can be done in the future if there is an actual user demand for it.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 09 Mar 2016 22:21:08 +0000
parents 054cd38a2f19
children 0b7ce0b16d8a
comparison
equal deleted inserted replaced
28387:97175d9bf7cf 28388:b1d35e2e1af6