view tests/test-hgcia.out @ 11255:e4dbaa40096d stable

clone: save hardlink state of util.copyfiles() When trying to do hardlink-cloning, the os_link() call of the first file tried already fails on Windows, if the source is on a UNC path. This change avoids calling os_link() for the rest of files, leaving us with a *single* failed os_link() call per clone operation, if the source can't do hardlinks.
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 28 May 2010 17:28:34 +0200
parents b80b944836ec
children
line wrap: on
line source

adding foo
pushing to ../cia
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files

<message>
  <generator>
    <name>Mercurial (hgcia)</name>
    <version>0.1</version>
    <url>http://hg.kublai.com/mercurial/hgcia</url>
    <user>testuser</user>
  </generator>
  <source>
<project>testproject</project>
<branch>default</branch>
</source>
  <body>
    <commit>
      <author>test</author>
      <version>0:e63c23eaa88a</version>
      <log>foo</log>
      
      <files><file action="add">foo</file></files>
    </commit>
  </body>
  <timestamp>0</timestamp>
</message>