Commit Graph

9856 Commits

Author SHA1 Message Date
Patrick Mezard
ef872dce44 test-convert-hg-svn: fix test output 2009-11-10 21:55:59 +01:00
Christian Boos
62e4f8e6b2 rebase: make sure the newancestor is used during the whole update
(issue1561)

Before this change, newancestor was used only once as a replacement
for ancestor.ancestor, but merge.update calls ancestor.ancestor
several times, so it ends up with the "wrong" ancestor (the real
ancestor, but we want the parent of the rebased changeset for all but
the first rebased changeset).

Added a new test case for this: test-rebase-newancestor.

Also, in one scenario in test-rebase-collapse, there was a spurious
conflict caused by the same issue, so that test case was fixed by
removing the now unneeded conflict resolution and the output was
adapted accordingly.
2009-11-09 20:15:49 +01:00
Peter Arrenbrecht
be2566722a bundle: add test for Issue1704
Original version by Greg Ward.
2009-11-07 12:28:31 +01:00
Peter Arrenbrecht
6a8e51ae73 bundle: don't send too many changesets (Issue1704)
The fast path in changegroupsubset can send too many csets. This happens
because it uses the parents of all bases as common nodes and then goes
forward from this again. If a base has a parent that has another child,
which is -not- a base, then this other child will nevertheless end up in
the changegroup.

The fix is to not use findmissing(), but use nodesbetween() instead, as
do the slow path and incoming/outgoing.

The change to test-notify.out is correct, because it actually hits this
bug, as can be seen by glog'ing the two repos:

@    22c88
|\
| o  0a184
| |
o |  0647d
|/
o  cb9a9

and

o  0647d
|
@  cb9a9

It used to pull 0647d again, which is unnecessary.
2009-11-07 12:28:30 +01:00
Gilles Moris
dc8e526f5e buildrpm: enhance changelog of the RPM file
Now the changelog is different depending if the parent is tagged:
- for tags, keep the previous content, i.e. changelog of the tags.
- for nightly build, changelog of the changesets since the latest tag

As RPM is expecting strictly descending dates, I have used a python
script to reorder the mercurial changelog.
2009-11-06 10:06:08 +01:00
Gilles Moris
22e16b7eb9 buildrpm: build full RPM package including sources 2009-11-06 09:59:55 +01:00
Gilles Moris
7f93b8d88a buildrpm: cleanup script 2009-11-06 09:53:23 +01:00
Gilles Moris
90efd6a603 buildrpm: enable to start the script from anywhere
Previously the script worked only from the hg root.
2009-11-06 09:35:38 +01:00
Gilles Moris
99dbd348b2 buildrpm: warn if there is outstanding uncommitted changes 2009-11-06 09:30:18 +01:00
Gilles Moris
01c82a9f23 buildrpm: build from working dir parent and use hg version for RPM versioning
Previous, RPMs was always built from tip, and the release number did not match
the 'hg version' put in place for 1.4.
This will enable also to this script to be able to build official tag and not
only nightly build.
2009-11-06 09:26:29 +01:00
Martin Geisler
d1b18c5ccd doc: fix language in CSS comments (by timeless) 2009-11-09 23:47:24 +01:00
Christian Boos
b1a3260e08 setup: fix 3fd9b85b797a refactoring, propagate env to runcmd 2009-11-09 17:33:16 +01:00
Wagner Bruna
085026ef75 clone: simplify help text 2009-11-09 17:28:40 -02:00
Fabian Kreutz
35adaffa53 i18n-de: Update msgids, remove .txt linespecs + few small translations 2009-11-02 17:25:43 +02:00
Wagner Bruna
15c3760453 i18n-pt_BR: synchronized with 570c03d0223b 2009-10-28 18:53:12 -02:00
Martin Geisler
a987a6f4f6 Merge with main 2009-10-28 20:48:24 +01:00
Matt Mackall
a777761788 verify: filter the candidate list for broken linkrevs 2009-10-28 13:17:03 -05:00
Matt Mackall
74ca11743b Merge with crew 2009-10-27 17:14:19 -05:00
Matt Mackall
0366236cf5 walkchangerevs: internalize ctx caching 2009-10-27 17:01:32 -05:00
Yuya Nishihara
45dc499697 diffstat: made test case work with POSIX sh and printf
* arithmetic expression ((...)), without $, is bashism.
* printf '\xXX' seems non-standard. '\0' is okay.
  http://www.opengroup.org/onlinepubs/009695399/utilities/printf.html

tested with bash 4.0 and dash 0.5.5.1
2009-10-27 21:59:44 +09:00
Sune Foldager
acad01d54e bundlerepo: fix small bug in exception raising 2009-10-27 10:33:41 +01:00
Martin Geisler
990ef904ff i18n-da: synchronized with 4b63bf2b5fca plus some new translations 2009-10-26 20:58:49 +01:00
Wagner Bruna
182a22659a i18n-pt_BR: synchronized with 4b63bf2b5fca 2009-10-26 12:32:14 -02:00
Matt Mackall
67e7c0b434 walkchangerevs: yield contexts 2009-10-25 18:43:59 -05:00
Matt Mackall
201d81ac28 walkchangerevs: kill window step of iterator 2009-10-25 18:43:58 -05:00
Matt Mackall
69f8478d8c walkchangerevs: pull out matchfn
* * *
imported patch mercurial/commands.py
2009-10-25 18:43:56 -05:00
timeless@mozdev.org
1834479e5a minor documentation improvements 2009-10-25 14:45:38 +02:00
Alexander Solovyov
3603882f18 patchbomb: accept default if it is empty string
This fixes Cc: prompt.
2009-10-25 14:28:02 +01:00
Martin Geisler
d0b16ead31 patchbomb: fix double-spaces in prompts 2009-10-25 14:24:39 +01:00
timeless
1ed92a7db7 commands: adding --no-status to resolve to match status 2009-10-25 13:27:54 +01:00
Martin Geisler
5f45fa87f0 i18n-zh_TW: synchronized with 4b63bf2b5fca 2009-10-25 12:50:30 +01:00
Martin Geisler
13d4147a61 i18n-zh_CN: synchronized with 4b63bf2b5fca 2009-10-25 12:50:12 +01:00
Martin Geisler
0a695a5b08 i18n-sv: synchronized with 4b63bf2b5fca 2009-10-25 12:49:25 +01:00
Martin Geisler
63698254b4 i18n-ja: synchronized with 4b63bf2b5fca 2009-10-25 12:47:48 +01:00
Martin Geisler
af05ce8c1e i18n-it: synchronized with 4b63bf2b5fca 2009-10-25 12:46:23 +01:00
Martin Geisler
4ba074f145 i18n-fr: synchronized with 4b63bf2b5fca 2009-10-25 12:44:57 +01:00
Martin Geisler
5e84c388f4 i18n-el: synchronized with 4b63bf2b5fca 2009-10-25 12:44:22 +01:00
Martin Geisler
541248f3cb Merge with main 2009-10-24 00:47:49 +02:00
Martin Geisler
f41556960b i18n-da: synchronized 2009-10-24 00:44:57 +02:00
timeless@mozdev.org
33195b8982 commands: use rev from remote repo when updating as part of a pull 2009-10-21 12:41:28 +03:00
timeless@mozdev.org
eb0032e7aa commands: highlighting that rev is based on the remote repository 2009-10-21 12:03:14 +03:00
Alexander Solovyov
2a7b51f2e1 bookmarks: use API to determine if repo is local 2009-10-25 12:05:07 +02:00
Brodie Rao
7c2f2247c5 diffstat: with --git, mark binary files with Bin
Normally, diffs without any text insertions or deletions are reported
as having 0 lines changed by stock diffstat. Compatibility is
preserved with stock diffstat in this case, but when using --git,
binary files are marked with Bin as a means of clarification.

git diff --stat does something similar, though it also includes the
old and new file sizes.
2009-10-25 02:53:33 +02:00
Brodie Rao
2306a92219 color: colorize diff --stat 2009-10-25 02:52:36 +02:00
Brodie Rao
8c7629d9e4 diff: add --stat for diffstat output
diff/qdiff --stat invokes patch.diffstat() on the diff output.

When in interactive mode, the output's maximum width is determined by the
terminal's width.
2009-10-25 02:52:35 +02:00
Brodie Rao
cd4a91c73f diffstat: print 0 instead of nothing for 0 adds or removes
This is in line with how the stock diffstat behaves when processing a
single diff with no line modifications (like a binary diff).
2009-10-25 02:35:35 +02:00
Gilles Moris
bed857bb1e update tcsh_completion for the new forget and summary commands 2009-10-24 12:29:39 +02:00
Adrian Buehlmann
c0985715f7 cmdutil: minor refactoring of changeset_printer._show
- use ctx.branch() instead of directly accessing the extra field "branch"
- move definitions of locals ('extra' and 'branch') down to where they
  are used
2009-10-24 19:01:40 +02:00
Martin Geisler
881b938c98 commands: search for translated version of "DEPRECATED"
The option description is already translated at this point, so we must
search for a translation of "DEPRECATED".
2009-10-24 00:29:25 +02:00
Gilles Moris
33dae3e063 mercurial.spec: update requirements for the build 2009-10-23 23:10:05 +02:00