Commit Graph

11258 Commits

Author SHA1 Message Date
Elifarley Callado Coelho Cruz
43acaba36c Added support for 'everybody ' (using an asterisk) in user list. 2010-03-29 09:15:08 -03:00
Mads Kiilerich
378848d5c1 convert.cvs: Initialize state variable and abort on cvs error
Fix as proposed by Frank Kingswood.

Avoids
UnboundLocalError: local variable 'mode' referenced before assignment
when cvs fails.

This alsa partially fixes issue1592.
2010-03-30 02:42:21 +02:00
Martin Geisler
3e53380842 share: drop experimental label
As per mail from Matt:

  http://selenic.com/pipermail/mercurial/2010-March/030774.html
2010-04-01 00:02:12 +02:00
Michael Glassford
268693c3a0 Add missing --mq option to hg log.
Since norepo is a string, not a list, the norepo check was matching
command names against any substring in norepo. This fix splits norepo
into a list of commands.
2010-03-31 10:59:00 -04:00
Benoit Allard
5c44ed9439 url: expand path in auth filenames 2010-03-26 21:37:18 +01:00
Alexander Solovyov
3283fbd2f5 expand paths in aliases 2010-03-27 13:39:45 +02:00
Benoit Boissinot
a17cbb3e50 test-subrepo-svn: properly escape the url, make it work for svn 1.5 again 2010-03-31 12:07:13 +02:00
Augie Fackler
9105fced5e util.termwidth: check stderr first as it's least likely to be redirected 2010-03-15 14:53:34 -05:00
Augie Fackler
eeb8822ee1 progress: use stderr instead of stdout; check stderr.isatty()
This means that progress bars will continue to show on the terminal
when both stdin and stdout are redirected.
2010-03-29 16:44:24 -05:00
Matt Mackall
b145c808c3 Merge with i18n 2010-03-29 15:16:05 -05:00
Matt Mackall
7e45d04b9e Merge stable heads 2010-03-29 15:15:44 -05:00
Jens Bäckman
a0e0ebca00 i18n-sv: translated the 'patterns' command 2010-03-28 20:27:09 +02:00
Wagner Bruna
fd1b07dc4d merge with i18n stable 2010-03-26 21:32:49 -03:00
Wagner Bruna
8ab3ff6c66 i18n-pt_BR: synchronized with 6b0bb18e1bce 2010-03-26 20:18:14 -03:00
Greg Ward
eb66b8a2ca Fix default style so 'log --copies' has a start and an end. 2010-03-25 15:37:39 -04:00
Benjamin Pollack
bcc53961eb schemes: add Kiln On Demand to default schemes 2010-03-24 16:42:08 -04:00
Sune Foldager
cd0e8d7662 push: refactor and optimize prepush 2010-03-26 17:02:49 +01:00
Sune Foldager
7acd5cb299 push: fix bug in prepush logic and its tests 2010-03-26 17:02:36 +01:00
Sune Foldager
7c4049acf8 localrepo: change _updatebranchcache to use a context generator 2010-03-26 17:02:23 +01:00
Benoit Boissinot
6180612089 setup.py: don't use tabs 2010-03-24 19:44:30 +01:00
Mads Kiilerich
6d35022505 Tests with spaces in paths
This allows most tests to succeed with
./run-tests.py --tmpdir='/tmp/hg  test'
and introduces other tests for spaces and shell quoting
2010-03-24 01:43:24 +01:00
Jens Bäckman
b52e99c06d i18n-sv: synchronized with 1a9077a3e759
Some simpler translations done too
2010-03-23 21:58:51 +01:00
Patrick Mezard
3e16f0baa3 rebase: fix --collapse with --keepbranches (issue2100)
This was broken in 6da9831a41d3.
2010-03-23 20:45:08 +01:00
Dirkjan Ochtman
e95cb55390 setup: fail if bz2 is not available 2010-03-23 20:01:30 +01:00
Pierre-Yves David
6a98ca74f3 test-convert-cvs: filter unstable cvs output.
The order choosen by cvs to display commit is not stable when the tests are run
under heavy CPU/IO load. This leads to irrelevant failures of the test suite.
This changeset filters four lines impacted by this instability. The result of
the conversion is still verified.
2010-03-22 22:19:40 +01:00
Dirkjan Ochtman
f0296c2e69 help: point out need for stringification 2010-03-23 11:48:14 +01:00
Patrick Mezard
ff276d3f72 mq: fix qcommit documentation wrt --mq option 2010-03-23 10:18:46 +01:00
Konstantin Zemlyak
738dae163d wsgicgi: call close() on iterable to avoid resource leaks
Quoting PEP 333 (WSGI):

"If the iterable returned by the application has a close() method, the server
or gateway must call that method upon completion of the current request,
whether the request was completed normally, or terminated early due to
an error. (This is to support resource release by the application.
This protocol is intended to complement PEP 325's generator support,
and other common iterables with close() methods."
2010-03-22 15:16:27 +01:00
Benoit Boissinot
879a4a71db patch: more precise NoHunk, raised for every file (issue2102) 2010-03-20 14:47:05 +01:00
Benoit Boissinot
6ed4471107 patch: differentiate start of file with diff --git vs '--- ' 2010-03-20 21:16:22 +01:00
Benoit Boissinot
f5bfcde5cb patch: try harder to find the file to patch on file creation (issue2041)
accept the following patch header:
first line:  foo/a.orig
second line: foo/a
2010-03-19 22:52:38 +01:00
Matt Mackall
b3a9416be9 Merge with i18n 2010-03-19 16:04:00 -05:00
Benoit Boissinot
223c085b2b patch: second line of a context diff starts with '--- ', not '+++ ' 2010-03-19 12:45:39 +01:00
Adrian Buehlmann
bd3cb13c64 wix: don't show version in title of root feature
The version is already shown in the title bar of the feature selection dialog
and in the text of the welcome dialog. It's unusual for Windows programs to repeat
the version in the root feature.
2010-03-19 10:39:01 +01:00
Adrian Buehlmann
1f2b9929e9 wix: use build variable for VC redist source dir 2010-03-19 10:26:19 +01:00
Benoit Boissinot
40a289572d mq: allow lines starting with '--- ' in patch messages 2010-03-18 19:26:56 +01:00
Benoit Boissinot
0ad95ca3aa patch: enhance diff detection regexp, allow '--- ' in patch message 2010-03-18 18:22:34 +01:00
Sune Foldager
d6ef50d413 fix bug in hg.clone when passing in a repository object 2010-03-18 16:38:07 +01:00
Martin Geisler
792e753cbc localrepo: more specific warning on adding large files
With better language as suggested by timeless.
2010-03-18 01:58:26 +01:00
Wagner Bruna
13d4934b77 i18n-pt_BR: synchronized with 12c0ccfaf2a7 2010-03-16 11:31:08 -03:00
Cédric Duval
130a94036a mq: test for init --mq with a destination argument 2010-03-15 20:52:22 +01:00
Adrian Buehlmann
3e93d70483 contrib/wix: fix product name to include version
Without this, Mercurial is registered under the installed programs
on Windows as just 'Mercurial', which is unusual for a program to do
on Windows.

Including the version in the registered product name registers the
software in the Windows control panel of installed programs as, for
example, 'Mercurial 1.5' (for 1.5), or as

  'Mercurial 1.5.1032' for a stable 1.5+32-d9a6645d6d9b
  'Mercurial 1.5.5080' for a unstable 1.5+80-1119076dd3e8

when using http://bitbucket.org/tortoisehg/thg-winbuild to create
daily builds.

Furthermore, the install UI texts in the built installer database (MSI
file) are more clear on what the user is about to install, as, for example,
the text in the initial installer dialog now reads

  "The Setup Wizard will install Mercurial 1.5 on your computer"

instead of just

  "The Setup Wizard will install Mercurial on your computer"
2010-03-16 17:39:12 +01:00
Benoit Boissinot
3c5670f245 filelog: text is stored modified when it starts with '\1\n' 2010-03-16 01:12:46 +01:00
Benoit Boissinot
12b6faccfd cvsps: fix traceback involving 'synthetic'
https://bugzilla.redhat.com/show_bug.cgi?id=573666
Reported by Sjoerd Mullender
2010-03-15 19:55:52 +01:00
Martin Geisler
f3b2ed5d56 progress: use a verb (+noun) in present participle 2010-03-15 18:33:39 +01:00
Edouard Gomez
8969d04970 subrepo: fix hgrc paths section during subrepo pulling
There are two bugs in current subrepo ctor:
 - hgrc paths were using parent repo (ctx._repo) instead of self._repo
 - it was joined with local extract path, not its source repo path

Fixed both bugs using _abssource on self once it is fully initialized.
It gets the job done perfectly for pull and push urls.
2010-03-14 00:28:10 +01:00
Mathieu Clabaut
14e6714bd1 convert: teach cvsps to handle . repository (issue1649)
For a CVS repository checked out with "cvs co .", the prefix used to strip of
what we get from CVS was previously erroneously set to "repopath/.".
We now prevent the dot to be added.

Test folded in test-convert-cvs and simplified by Patrick Mézard
<pmezard@gmail.com>.
2010-03-09 12:09:57 +01:00
Cédric Duval
5526bbffdb mq: fix init with nonexistent or non-local repository 2010-03-14 18:46:38 +01:00
Cédric Duval
f7452aeef3 mq: no longer refer to deprecated qinit -c command 2010-03-14 19:21:24 +01:00
Cédric Duval
b91592cdc4 mq: don't mention qinit as a "common task"
Without -c, it is a no-op (the queue is implicitly initialized by all
relevant commands if needed), and queue repositories with -c are an
advanced usage of mq, and not otherwise required.
2010-03-14 19:17:06 +01:00