Malcolm Purvis <malcolmp(a)xemacs.org> wrote:
I'm seeing a failure when I try and use patcher in a repository
that
has files added and removed. Running patcher-mail, it fails with the
message:
<path>/dev/: no such directory
Could you give me a backtrace please ?
I suspect that the problem relates to the diff output's usage of
/dev/null to indicate files that have been added and removed:
magog$ hg diff | grep dev
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+## Do not use it on development directories!
magog$
Should patcher work in this situation?
Hmmm, I don't think so. Patcher for sure doesn't do anything special
for treating additions or deletions (I have to look into that). Besides,
I don't know what's the behavior of patch-to-change-log in that
situation, but I suspect it doesn't work well either.
What I suggest for now is to play with either the diff-line-filter or
after-diff-hook project options in order to clean up the diff.
--
5th European Lisp Workshop at ECOOP 2008, July 7:
http://elw.bknr.net/2008/
Didier Verna, didier(a)lrde.epita.fr,
http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-BicĂȘtre, France Fax.+33 (0)1 53 14 59 22 didier(a)xemacs.org
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta