[issue1053] file updates in patch directory must break hard links

John Rose mercurial-bugs at selenic.com
Thu Mar 27 14:47:49 CDT 2008


New submission from John Rose <john.rose at sun.com>:

Man pages claim that "cp -al" will safely copy repos.

This is not true for the patch directory.

To reproduce, "cp -al" a repo with mq patches.

Make a change in one, do hg qref, and observe the updated patch in the other, 
still with two hard links.

----------
messages: 5735
nosy: jrose
priority: urgent
status: unread
title: file updates in patch directory must break hard links
topic: mq

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1053>
____________________________________________________



More information about the Mercurial-devel mailing list