- Feb 21, 2008
-
-
Peter Arrenbrecht authored
-
- Feb 22, 2008
-
-
Thomas Arendsen Hein authored
-
Thomas Arendsen Hein authored
-
- Feb 21, 2008
-
-
Gilles Moris authored
Currently, backout is creating a backout revision as a child node of the backed out node and will leave you at this new head. This has several drawbacks: * this changes the current head * when there is a long history between the backed out node and the current head, this will generate a huge number of diffs that are scary at first sight, and not very natural to review before commit. The change consists to switch back to the original node as soon as the backout node (which becomes the new tip) has been created. Then the --merge option can just merge this new tip in the current node. * the current head/node is not changed from the user's point of view * even without using the --merge option, the backout revision is still easy to locate, as this is the tip * the merge is much more intuitive as diffs of the merge is right you are looking to backout
-
Alexis S. L. Carvalho authored
-
Alexis S. L. Carvalho authored
-
Alexis S. L. Carvalho authored
We might be able to do something smarter about this in dirstate.status for files in normallookup state, but that would require some extra care to keep backwards compatibility.
-
Alexis S. L. Carvalho authored
These two commands care about the list of modified files returned by repo.status and we may need to do a full content comparison to populate that list.
-
Alexis S. L. Carvalho authored
test-glog uses debugsetparents instead of update+merge to create some funky DAGs, and so the dirstate contents won't be consistent with the checked out revision. Passing an explicit list of files to commit reduces a bit the dependency on the dirstate. Using a non-deprecated rawcommit might be better here.
-
Dirkjan Ochtman authored
-
Dirkjan Ochtman authored
-
- Feb 20, 2008
-
-
Stefan Rank authored
-
- Feb 21, 2008
-
-
Dirkjan Ochtman authored
-
- Feb 20, 2008
-
-
Bryan O'Sullivan authored
-
- Jan 25, 2008
-
-
Jesse Glick authored
In particular: if invoked without -R from a CWD not inside a repo, having been passed one or more file paths as command arguments, where the nearest enclosing repo of all of those paths is the same, quietly infer a -R option for that repo. Otherwise abort with an error message as before.
-
- Feb 20, 2008
-
-
Dirkjan Ochtman authored
The protocol functions are already pretty careful about not raising exceptions to the caller, and have their own error handling. We can formalize this a little bit to make it clearer (before, the exception handlers for a limited number of exceptions coming from the interface bits would blow up because some variables aren't instantiated for the protocol calls).
-
- Feb 19, 2008
-
-
Alexis S. L. Carvalho authored
-
Alexis S. L. Carvalho authored
-
Alexis S. L. Carvalho authored
In the kernel repo (tip = 2b89f7111b96), a "hg grep mpm MAINTAINERS" goes from ~165s to 0.7s. This could get even a bit faster if we broke out of the loop after the first match, but I'm not sure how that would interact with the --follow code. This is obviously an extreme example, but other cases should also benefit from this patch.
-
Alexis S. L. Carvalho authored
This avoids a possibly expensive tag lookup.
-
Alexis S. L. Carvalho authored
If there's no inline data, revlog.revision opens the data file every time it's called. This is useful if we're going to call chunk many times, but, if we're going to call it only once, it's better to let chunk open the file - if we're lucky, all the data we're going to need is already cached and we won't need to even look at the file.
-
Bryan O'Sullivan authored
-
- Feb 18, 2008
-
-
Thomas Arendsen Hein authored
-
Thomas Arendsen Hein authored
-
- Aug 28, 2007
-
-
Walter Doerwald authored
-
- Feb 17, 2008
-
-
Thomas Arendsen Hein authored
commit (aborts _after_ typing in a commit message) backout (aborted after the initial revert) tag (edited .hgtags and couldn't commit) import (patch applied, then commit fails) qnew (aborts on bad dates, but writes any valid date into the # Date header) qrefresh (like qnew) sign (like tag) fetch (merge, merge, merge, merge, abort)
-
Thomas Arendsen Hein authored
(see issue671)
-
- Feb 16, 2008
-
-
Thomas Arendsen Hein authored
-
Thomas Arendsen Hein authored
Before this patch "filename=foo/bar" was sent and e.g. Firefox offered to save the file as "foo-bar" instead of just "bar".
-
Thomas Arendsen Hein authored
-
Thomas Arendsen Hein authored
Move shortdate() from templatefilters to util to avoid code duplication.
-
Thomas Arendsen Hein authored
Suggested by Greg Lindahl
-
- Feb 13, 2008
-
-
Patrick Mezard authored
-
- Feb 16, 2008
-
-
Patrick Mezard authored
-
Patrick Mezard authored
-
- Feb 10, 2008
-
-
Peter Arrenbrecht authored
-
Peter Arrenbrecht authored
-
- Feb 16, 2008
-
-
Alexis S. L. Carvalho authored
Also remove unneeded -d and -u commit options.
-
- Feb 15, 2008
-
-
Thomas Arendsen Hein authored
-
Thomas Arendsen Hein authored
-