- Jul 13, 2010
-
-
Nicolas Dumazet authored
This should make the MQ API more transparent: callers only have to call save_dirty, and no mq.added magic or knowledge is required.
-
- Jul 07, 2010
-
-
Renato Cunha authored
With inotify enabled, files that should be ignored could be detected as untracked by mercurial. This behavior was wrong because inotify's filestatus implementation only matched filenames against ignore patterns, instead of checking if other elements of their paths matched them. This patch fixes the behavior by checking the file paths against the ignore patterns. A new test has also been added to the main inotify test to prevent any regressions.
-
- Jul 02, 2010
-
-
Nicolas Dumazet authored
Since 3d6915f5a2bb the branch argument for addbranchrevs should be a tuple: (hashbranch, branches) The right empty value therefore is (None, []) instead of None.
-
- Jul 06, 2010
-
-
Nicolas Dumazet authored
This prevents false negatives on case-insensitive systems.
-
Nicolas Dumazet authored
Wrapping format for long headers changed in Python2.7 (see Python issue1974). Adopt the Python2.7 behaviour and backport it for 2.4-2.6
-
- Jul 05, 2010
-
-
Nicolas Dumazet authored
filelog.renamed() is an expensive call as it reads the filelog if p1 == nullid. It's more efficient to first compute the hash, and to bail early if the computed hash is the same as the stored nodeid. 'samehashes' variable is not strictly necessary, but helps for comprehension.
-
Nicolas Dumazet authored
Because "\1\n" is a separator for metadata, data starting with "\1\n" is handled specifically. It was not tested. size() call return incorrect data if original data had been "\1\n-escaped". There's no obvious way to fix it for now, just flag the error in the code and add an "expected failure" kind of test.
-
- Jul 09, 2010
-
-
Nicolas Dumazet authored
This is similar to the __builtin__.cmp behaviour, but still not straightforward, as the dailylife meaning of a comparison usually is "find out if they are different".
-
Nicolas Dumazet authored
Apparently we mostly used filectx.cmp(workingfilectx.read()), so no error was ever triggered, but since all cmp() methods return True when content are different, that == should in fact be !=
-
- Jul 12, 2010
-
-
Nicolas Dumazet authored
-
Giorgos Keramidas authored
-
- Jul 13, 2010
-
-
Nicolas Dumazet authored
Since 1b82a26635d7, we are adding patches after the qimport call, and not inside it anymore. Correct updatemq to match the new behaviour.
-
- Jul 12, 2010
-
-
Nicolas Dumazet authored
It seems wiser to reset mq.added at the end of the mq transaction instead of at the beginning of a qimport call: this way, calling several times qimport() without saving mq state in-between does not overwrite the previous value of mq.added (this happens, for example in rebase, where we import several patches in a batch before calling .save_dirty() )
-
- Jul 08, 2010
-
-
kiilerix authored
Clarify that: - Specified paths are matched by comparing name of file or directory. - Line order (thus) doesn't matter. - Rename doesn't imply include.
-
- Jul 09, 2010
-
-
Martin Geisler authored
-
Dan Villiom Podlaski Christiansen authored
Specifically, assert that the given wrapper is callable in both functions, and assert that the original was also callable in wrapfunction().
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Arnab Bose authored
-
- Jul 07, 2010
-
-
Martin Geisler authored
-
Robert Bauck Hamar authored
When commiting, a check is made to see if one of the parents is a closed head. However this did not check that the branch of the commit is the same as the closed head, so one could get a warning message on the sequence hg commit --close-branch hg branch new-branch hg commit or when merging in a closed head.
-
- Mar 28, 2010
-
-
Yuya Nishihara authored
MQ patch name can contain slashes, e.g. 'foo/bar.patch'. Currently "qnew foo/bar.patch" works, but "qrename foo/bar.patch new/dir.patch" fails with "No such file or directory". Also added test case for "qnew foo/bar.patch"
-
- Jul 03, 2010
-
-
Julian Cowley authored
Even though the name of the project is Docutils, most packagers use the package name python-docutils to fit into the naming scheme of other packages written in Python. The name is used by Fedora, EPEL, DAG, Mandriva, and a few other distributions.
-
- Jul 06, 2010
-
-
Renato Cunha authored
The term "Directory, working" referenced a non-existant term named "Parents, working directory". This patch fixes the typo.
-
- Jul 04, 2010
-
-
Martin Geisler authored
-
- Jul 02, 2010
-
-
Yuya Nishihara authored
prep(ctx, fns) receives paths relative to repository root, not cwd.
-
- Jul 04, 2010
-
-
Nicolas Dumazet authored
-
- Jul 02, 2010
-
-
Martin Geisler authored
Use reST role for consistency, import small part of Debian's proposed_upstream__correct-zeroconf-doc patch from http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/debian/patches/
-
- Jul 03, 2010
-
-
Martin Geisler authored
-
- Jul 02, 2010
-
-
Martin Geisler authored
Imported for_upstream__add_doc_url_in_example_files.patch from Debian's patch queue: http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/debian/patches/
-
Steve Borho authored
A GUID change is recommended after changes like 159233cc9c14
-
- Jul 01, 2010
-
-
Steve Borho authored
These files are not included the 1.6.0 installer, but will be picked up by nightly builds as soon as this makes it to the stable branch.
-
Matt Mackall authored
-
Matt Mackall authored
-
- Jun 29, 2010
-
-
kiilerix authored
In commands.log a displayer was initialized from cmdutil.show_changeset() with the initial matchfn (which designates the specified files which only is correct in the highest revision in the range). prep() is handed the correct list of files, but displayer.show() didn't use that list but keept using the original matchfn. The matchfn argument to cmdutil.show_changeset() wasn't specified in other places and is only used in .show(), so now we give the matchfn as an optional parameter to .show(). We do however still have to detect --patch and --stat from opts in show_changeset() and let it imply a matchall, but that can now be overruled with the new .show() matchfn parameter.
-
- Jul 01, 2010
-
-
Wagner Bruna authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Martin Geisler authored
-