A Scalable, User-Friendly Source Control System.
Go to file
FUJIWARA Katsunori 1d7c1875df largefiles: check existence of the file with case awareness of the filesystem
Before this patch, largefiles extension always unlinks largefiles
untracked on the target context in merging/updating after updating
working directory.

For example, it is assumed that the revision X consists of ".hglf/A"
(and "A" implicitly) and revision Y consists of "a" (not ".hglf/A").

In the case of updating from X to Y, largefiles extension tries to
unlink "A" after updating "a" in working directory. This causes
unexpected unlinking "a" on the case insensitive filesystem.

This patch checks existence of the file in the working context with
case awareness of the filesystem to prevent from such unexpected
unlinking.

"lfcommands._updatelfile()" also unlinks target file in the case
"largefile is tracked in the target context, but fails to be fetched".

This patch doesn't apply "repo.dirstate.normalize()" in this case,
because it should be already ensured in the manifest merging that
there is no normal file colliding against any largefiles.
2013-05-07 05:04:11 +09:00
contrib win32: use explicit path to "python.exe" only if it exists 2013-04-26 01:12:03 +09:00
doc codingstyle: remove trailing spaces in various text files 2013-04-17 03:40:18 +02:00
hgext largefiles: check existence of the file with case awareness of the filesystem 2013-05-07 05:04:11 +09:00
i18n i18n-pt_BR: synchronized with 84cd0b5e2b04 2013-05-01 11:20:16 -03:00
mercurial subrepo: open files in 'rb' mode to read exact data in (issue3926) 2013-05-09 21:09:58 +09:00
tests largefiles: check existence of the file with case awareness of the filesystem 2013-05-07 05:04:11 +09:00
.hgignore exewrapper: adapt for legacy HackableMercurial 2012-08-07 11:04:41 +02:00
.hgsigs Added signature for changeset 056cd490b6d6 2013-05-01 17:49:53 -05:00
CONTRIBUTORS Add note to CONTRIBUTORS file 2007-11-07 21:10:30 -06:00
COPYING COPYING: refresh with current address from fsf.org 2011-06-02 11:17:02 -05:00
hg rename util.set_binary to setbinary 2011-05-06 15:25:35 +02:00
hgeditor Fixed a bashism with the use of $RANDOM in hgeditor. 2010-05-19 18:06:35 +02:00
hgweb.cgi mq: add a warning about uncommitted changes for qfinish 2011-11-10 15:40:34 -06:00
Makefile check-code: add Makefile target to run check-code 2013-02-09 15:57:04 +01:00
README readme: mention how to run in-place 2012-03-02 21:43:55 +02:00
setup.py setup: make error message for missing Python headers more helpful 2013-04-12 16:55:34 -04:00

Mercurial
=========

Mercurial is a fast, easy to use, distributed revision control tool
for software developers.

Basic install:

 $ make            # see install targets
 $ make install    # do a system-wide install
 $ hg debuginstall # sanity-check setup
 $ hg              # see help

Running without installing:

 $ make local      # build for inplace usage
 $ ./hg --version  # should show the latest version

See http://mercurial.selenic.com/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.