- Dec 02, 2010
-
-
Matt Mackall authored
-
- Dec 01, 2010
-
-
Christian Ebert authored
1) hg cp symlink copy -> copy is a symlink. 2) cp symlink copy; hg cp -A symlink copy -> copy is a regular file. In the second case we have to follow the symlink to its target to find out whether we have to unexpand keywords in the copy. Add test covering the case where the copied link's target is ignored by keyword but has content which would match the regex for expanded keywords to check whether we indeed leave the destination alone.
-
Adrian Buehlmann authored
catches unknown drive letters on Windows
-
- Nov 19, 2010
-
-
Shun-ichi GOTO authored
Using reposetup() may cause multiple-wrap issue in some situation like "hg serve".
-
- Nov 30, 2010
-
-
Wagner Bruna authored
edd07be943dd moved the subdirectory match inside the repository match loop. A virtual path existing/path/invalid/path would then match existing/path, and generate a wrong index page.
-
- Nov 26, 2010
-
-
Adrian Buehlmann authored
-
Kevin Bullock authored
Additions to test-mq-qrefresh.t in f08df4d38442 (mq: ignore subrepos (issue2499)) were originally based on a version prior to d0e21c5fde41 (subrepo: handle missing subrepo spec file as removed). This fixes a test failure that resulted from the former being applied after the latter, noticed by abuehl.
-
- Nov 24, 2010
-
-
Adrian Buehlmann authored
catches weird clock settings
-
Adrian Buehlmann authored
catches "hg commit -d '-7654321 3600'" (example)
-
- Dec 01, 2010
-
-
Matt Mackall authored
-
- Nov 23, 2010
-
-
Wagner Bruna authored
-
- Dec 01, 2010
-
-
Adrian Buehlmann authored
The case $ hg clone a '' already aborted before 2649be11ab0b, whereas $ hg clone --pull a '' tripped the fixed issue2528. Both basic cases are expected to fail with an abort.
-
Martin Geisler authored
-
Martin Geisler authored
-
- Nov 30, 2010
-
-
Nicolas Dumazet authored
-
- Nov 29, 2010
-
-
Patrick Mezard authored
When branch2/dir was replacing branch1/dir, we only marked branch2/dir files a changed. Add branch1/dir files as they may not exist in branch2.
-
- Nov 27, 2010
-
-
Steve Borho authored
-
- Nov 26, 2010
-
-
Steve Borho authored
-
Steve Borho authored
--bundle 3 leaves all of the compiled C extensions and other DLLs outside of the library.zip, so we no longer add the installer folder to the system PATH. Instead, we now ship a small bin/hg.cmd and it is placed in the PATH. Switching to py2exe --bundle 3 is necessary because the higher bundle options are not supported on x64.
-
- Nov 23, 2010
-
-
Adrian Buehlmann authored
Python's time.gmtime(lt) fails on Windows, producing a traceback with ValueError: (22, 'Invalid argument') if lt < -43200. We get a local time boundary value of -43200 if we take "the epoch" Thu Jan 01 00:00:00 1970 = time.gmtime(0) from timezone 'UTC+0' into timezone 'UTC-12'. All other timezones will have larger local time values for that point in time. Aborting with a traceback on 'hg log' for revisions with a timestamp value < -43200 is clearly not acceptable. Returning "invalid timestamp" or similar as string representation is not an option either, since that may crash other tools which parse the output of 'hg log'. Instead, we teach util.datestr() to return the epoch in timezone UTC+0 on *all platforms*, represented by the string Thu Jan 01 00:00:00 1970 +0000 if the timestamp's unix time value is negative. (based on a patch originally proposed by Benjamin Pollack)
-
Adrian Buehlmann authored
If os_link fails on Windows, errno is always errno.EINVAL, so we can't really say if the testlink could not be created because (a) the FS doesn't support hardlinks or (b) there is a leaked .hgtmp file lying around from a previous crashed run. So let's err on the safe side, keep the code simple and assume we can't detect hardlinks in both cases.
-
- Nov 16, 2010
-
-
Kevin Bullock authored
If MQ allows modifying .hgsub or .hgsubstate in a patch, it can easily lead to an inconsistent subrepo state. This patch prevents qrefresh from adding any modifications to .hgsub or .hgsubstate to a patch. The user is warned that these files are not included in the patch. The tests test both the slightly irrational and the pathological cases.
-
- Nov 22, 2010
-
-
Christian Ebert authored
-
- Nov 20, 2010
-
-
Henrik Stuart authored
-
- Nov 18, 2010
-
-
Wagner Bruna authored
'format' was renamed to 'parsed' in 0d50586a9d31
-
Patrick Mezard authored
Otherwise, all commands involving a dirstate walk will abort when trying to readone of them. Deleting .hgsub basically breaks a repository.
-
- Nov 17, 2010
-
-
Patrick Mezard authored
-
Patrick Mezard authored
Using svn subrepos on MacOSX with native python 2.6.1 results in a lot of unexpected output caused by: http://bugs.python.org/issue5099 subprocess.Popen.__del__ causes AttributeError (os module == None) Avoiding dangling Popen instance solves the issue.
-
Patrick Mezard authored
-
- Nov 16, 2010
-
-
Dan Villiom Podlaski Christiansen authored
Comparing integers by identity relies on a CPython implementation detail of caching integers between -5 and 256.[1] [1] <http://docs.python.org/c-api/int.html#PyInt_FromLong>
-
Dan Villiom Podlaski Christiansen authored
An identity check between a variable and a string literal was added to the pushkey implementation in 6bd9778ae749. While CPython will normally intern strings and thus make the test safe, value identity is what should be used here.
-
- Nov 15, 2010
-
-
Matt Mackall authored
raise a proper abort if we can't find an ancestor
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Wagner Bruna authored
-
- Nov 13, 2010
-
-
Martin Geisler authored
-
Colin Caughie authored
-
- Nov 10, 2010
-
-
Nicolas Dumazet authored
Regression from 99cafcae25d9. That previous commit is not supposed to affect log calls without --follow, so we step out of this codepath if follow is not True, and it's enough to fix the regression. When --follow is given, we fix the issue by taking into account changesets that have a rev > maxrev to build the filegraph: even if those files are not included in the final result, it's still needed to walk correctly the graph from the end of the filelog to minrev, to track accurately renames.
-