hg diff won't diff against working directory for newly added files.
Benoit Boissinot
bboissin at gmail.com
Fri Sep 29 16:44:43 UTC 2006
On 9/29/06, Kyle Butt <kylebutt at gmail.com> wrote:
> In some instances, (like web dev) it's useful to copy a file to a remote site and
> view it before commiting it. I found this unexpected behavior with regard to a
> newly added file that was already in the working directory.
>
> [snip]
>
> But apparently it's not checking to see if the file is actually in the wd,
> just diffing against /dev/null blindly.
>
Did you update the working copy from repo2 before copying the file ?
Cheers,
Benoit
More information about the Mercurial
mailing list