Wagner Bruna <wbruna@yahoo.com> [Sun, 26 Jun 2011 15:47:39 -0300] rev 14756
localrepo: mark progress step for translation
Adrian Buehlmann <adrian@cadifra.com> [Sun, 26 Jun 2011 01:13:30 +0200] rev 14755
revert: improve hints on abort when reverting to parent without --all
BEFORE:
$ hg revert
abort: no files or directories specified
(use --all to discard all changes)
AFTER:
Uncommitted changes (using --all *will* nuke edits):
$ hg revert
abort: no files or directories specified
(uncommitted changes, use --all to discard all changes)
Clean working directory (using --all won't discard anything):
$ hg revert
abort: no files or directories specified
(use --all to revert all files)
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:59 +0300] rev 14754
dispatch: set config options on the request repo.ui
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:59 +0300] rev 14753
dispatch: return read config options
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:58 +0300] rev 14752
dispatch: set global options on the request repo.ui
If the request has a repo, and global options such as --verbose are passed,
we need to set those explicitly on the repo.ui.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:44:17 +0300] rev 14751
cmdserver: assign repo.baseui before running commands
There are places in the code that use localrepository.baseui (see hg.remoteui),
we need the ui descriptors (and possibly other things) to be set
correctly on it, so output written to the remoteui descriptors ends up at the
right place.
Before this change, tests such as 'test-bookmarks-pushpull.t' didn't work.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:43:59 +0300] rev 14750
cmdserver: copy repo.ui before running commands
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14749
filemerge: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 12:16:14 +0300] rev 14748
dispatch: make sure unspecified global ui options don't override old values
Matt Mackall <mpm@selenic.com> [Mon, 27 Jun 2011 11:19:27 -0500] rev 14747
merge with stable
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Sat, 25 Jun 2011 02:30:24 +0200] rev 14746
requirements: show all missing features in the error message.
Displaying all missing featureis help people to solve the issue (choosing the
right version, creation the right repo)
Adrian Buehlmann <adrian@cadifra.com> [Fri, 24 Jun 2011 23:29:51 +0200] rev 14745
test-revert: add case for nothing changed
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:38:28 +0300] rev 14744
dispatch: set descriptors on the request repo.ui
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:36:44 +0300] rev 14743
dispatch: pass the correct ui to runcommand
For commands that take a repo, repo.ui is passed as the ui to runcommand.
This restores that behaviour when the request has a repo.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14742
archive: wrap the ui descriptor so it doesn't get closed
archival.tarit closes the fileobj if one is passed to it, which is undesired
when reading from '-'.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 19:27:53 +0300] rev 14741
transplant: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14740
bisect: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14739
extdiff: use ui out descriptor when calling util.system
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 17:04:37 +0300] rev 14738
ui: use ui out descriptor when calling util.system
David Golub [Fri, 24 Jun 2011 11:39:12 -0400] rev 14737
call reposetup for repositories returned from peer (issue2864)
Extension setup functions were not being called when repositories were
obtained using the peer function instead of the repository function.
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Jun 2011 01:55:16 +0200] rev 14736
tests: solaris [ doesn't know -e
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Jun 2011 01:55:15 +0200] rev 14735
convert: fix git convert on solaris - it cannot remove environment variables
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Jun 2011 01:55:13 +0200] rev 14734
tests: HGRCPATH must be exported after assignment
- at least on Solaris
Matt Mackall <mpm@selenic.com> [Fri, 24 Jun 2011 18:00:29 -0500] rev 14733
merge with stable
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 23:25:42 +0300] rev 14732
backout of d04ba50e104d: allow to qpop/push with a dirty working copy
The new behavior was breaking existing tools that relied on a sequence such as
this:
1) start with a dirty working copy
2) qimport some patch
3) try to qpush it
4) old behavior would fail at this point due to outstanding changes.
(new behavior would only fail if the outstanding changes and the patches
changes intersect)
5) innocent user qrefreshes, gets his local changes in the imported patch
It's worth considering if we can move this behavior to -f in the future.
Matt Mackall <mpm@selenic.com> [Fri, 24 Jun 2011 13:35:44 -0500] rev 14731
merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 24 Jun 2011 13:35:03 -0500] rev 14730
merge with stable
Adrian Buehlmann <adrian@cadifra.com> [Fri, 24 Jun 2011 10:31:44 +0200] rev 14729
update: do not use the term 'update' when mentioning reverting one file
and give a more precise hint for how to revert such a file
I'm using the term 'revision' instead of 'changeset' in this change to be
consistent with the REV we use in the synopsis.
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 16:36:24 +0300] rev 14728
cmdserver: fix read-loop string concatenation
Idan Kamara <idankk86@gmail.com> [Fri, 24 Jun 2011 16:30:43 +0300] rev 14727
dispatch: check for None before closing repo
We were trying to call close() if repo == None and req.repo != None.
This can happen when running commands that don't take a repo.
Adrian Buehlmann <adrian@cadifra.com> [Fri, 24 Jun 2011 12:37:29 +0200] rev 14726
revert: mention update in hint of abort when reverting to non-parent
and explicitly warn about uncommitted changes
Examples:
BEFORE:
$ hg par -q
7:e81a2efd53d4
$ hg revert -r 2
abort: no files or directories specified
(use --all to discard all changes)
AFTER:
Clean working directory (revert can be easily undone, no edits to be lost):
$ hg revert -r 2
abort: no files or directories specified
(use --all to revert all files, or 'hg update 2' to update)
Uncommitted changes (revert --all *does* discard edits and is pretty hard to
undo or even impossible if --no-backup is specified):
$ hg revert -r 2
abort: no files or directories specified
(uncommitted changes, use --all to discard all changes, or 'hg update 2' to update)
Adrian Buehlmann <adrian@cadifra.com> [Fri, 24 Jun 2011 10:51:05 +0200] rev 14725
update: clarify that update changes the parent revison
Matt Mackall <mpm@selenic.com> [Fri, 24 Jun 2011 00:21:00 -0500] rev 14724
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Wed, 22 Jun 2011 01:55:00 +0200] rev 14723
revset: fix aliases with 0 or more than 2 parameters
The existing code seemed to have incorrect assumptions about how parameter
lists are represented by the parser.
Now the match and replace functions have been merged and simplified by using
getlist().
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 23 Jun 2011 14:40:57 +0200] rev 14722
match: fix bug caused by refactoring in cfc89398f710
Adrian Buehlmann <adrian@cadifra.com> [Wed, 22 Jun 2011 15:34:33 +0200] rev 14721
revert: be more helpful on uncommitted merges
BEFORE:
$ hg revert
abort: no files or directories specified
(use --all to discard all changes)
AFTER:
$ hg revert
abort: no files or directories specified
(uncommitted merge, use --all to discard all changes, or 'hg update -C .' to abort the merge)
Adrian Buehlmann <adrian@cadifra.com> [Wed, 22 Jun 2011 10:13:44 +0200] rev 14720
opener: add self._audit (issue2862)
Idan Kamara <idankk86@gmail.com> [Wed, 22 Jun 2011 17:13:04 +0300] rev 14719
cmdserver: write the hello message as one chunk on the 'o' channel
This is a guaranteed by the protocol: clients know they need to read one chunk
off of the 'o' channel and treat that as the hello message.
They should ignore fields they don't recognize so they stay compatible with
new versions of the server in case we decide to add something.
Mads Kiilerich <mads@kiilerich.com> [Fri, 24 Jun 2011 01:10:35 +0200] rev 14718
fileset: copied takes no arguments
Mads Kiilerich <mads@kiilerich.com> [Wed, 22 Jun 2011 01:55:00 +0200] rev 14717
revset and fileset: fix typos in parser error messages
Mads Kiilerich <mads@kiilerich.com> [Fri, 24 Jun 2011 00:18:41 +0200] rev 14716
fileset: use ParseError pos field correctly
The pos field is intended to describe the position of the error - it should not
be used for other potentially interesting information.
Mads Kiilerich <mads@kiilerich.com> [Fri, 24 Jun 2011 00:18:06 +0200] rev 14715
revset: fix parameter name in implementation of follow()
Matt Mackall <mpm@selenic.com> [Tue, 21 Jun 2011 17:27:20 -0500] rev 14714
merge with stable
Kevin Bullock <kbullock@ringworld.org> [Mon, 20 Jun 2011 22:15:52 -0500] rev 14713
revert: be more explicit that changes are lost
BEFORE:
$ hg revert
abort: no files or directories specified
(use --all to revert all files)
AFTER:
$ hg revert
abort: no files or directories specified
(use --all to discard all changes)
Idan Kamara <idankk86@gmail.com> [Tue, 21 Jun 2011 17:08:21 +0300] rev 14712
dispatch: do not close the request repo
Closing here means we've closed the repo passed to us in the request,
which is not our responsibility.
This is essential for bundlerepo, and possibly other localrepository
subclasses who do something in their close().
Idan Kamara <idankk86@gmail.com> [Tue, 21 Jun 2011 16:55:21 +0300] rev 14711
hook: write hook output to ui fout descriptor
output on stderr will also be written to ui.fout, unless sys.__stdout__
is passed in (see util.system), thus not changing previous behavior.
This fixes a bug where hooks run through the command server would mess up
with the command protocol, sending non-channeled data to the client.
Matt Mackall <mpm@selenic.com> [Tue, 21 Jun 2011 15:26:44 -0500] rev 14710
merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 21 Jun 2011 15:21:57 -0500] rev 14709
check-code: don't mark debug messages for translation