Commit Graph

73 Commits

Author SHA1 Message Date
Matt Mackall
045928efda update tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

update tests

manifest hash: 70079385599132ca8f90582e1f9317ca46167532
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyaISywK+sNU5EO8RApnGAJ0blIxE0tKPzcRQUDAHCLe5KmUSNgCgjGoA
kV4Os9FG1NmGaCysPIsKwts=
=Ee67
-----END PGP SIGNATURE-----
2005-07-04 12:54:42 -08:00
maf46@burn.cl.cam.ac.uk
7b2a775c50 Fix zombie files in merge
# HG changeset patch
# User maf46@burn.cl.cam.ac.uk
# Node ID 57667c9b93a5a743e4629d15a0e6bd76699130c3
# Parent  4309b0a5a6010dd2e5811b77d2bc29a51acf290f

Fix zombie files in merge

Keir Fraser observed the following:

> I made a small test case that illustrates the bug in merging changesets
> with 'hg remove's in them:
>
> 1. Create a repository A containing files foo & bar.
> 2. Create clone called B.
> 3. A removes file bar, and commits this removal.
> 4. B edits file foo, and commits this edit.
>
> Now, if B:
>   # hg pull ../A; hg update -m; hg commit
> Then bar remains deleted.
>
> If A:
>   # hg pull ../B; hg update -m; hg commit
> Then bar is resurrected!
>
> It looks as though, when you merge across a branch, any deletions in
> your own branch are forgotten.
> ...
> Fixing this is a must, as zombie files are a real pain. :-)

Keir later patched our local copy of hg as shown below, which fixes
the problem.  I've also enclosed a test which captures the test Keir
outlined...

Files deleted on a branch should not automatically reappear in a merge

Patch notes:
 1. The first chunk does not change behaviour, but cleans up the code
    to more closely match check of 'force' in the second chunk. I
    think it makes the code clearer.
 2. The second chunk fixes two bugs --
    i.  If we choose to keep a remotely-changed locally-deleted file,
        then we need to 'get' that file. If we choose to delete it
        then no action need be taken (it is already deleted in the
        working manifest). Without this fix, choosing to delete would
        get a Python traceback.
    ii. The test for whether the file was remotely-created is
        insufficient. It is only true if f is not in the common
        ancestor. Otherwise the file was deleted locally, and should
        remain deleted. (this is the most important fix!)


Index: hg/tests/test-merge6
===================================================================
2005-07-04 12:38:34 -08:00
Matt Mackall
c77de876fa Add username/merge/editor to .hgrc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add username/merge/editor to .hgrc

These take priority over the equivalent environment vars
Deprecate HGMERGE, HGUSER, and HGEDITOR in docs
Add ui section to docs
Remove undocumented HG_OPTS
Raise username code out of changelog class
Make tests ignore ~/.hgrc

manifest hash: d127ef02bc5266036b4c77a55319519e91bd475b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyM5NywK+sNU5EO8RAuU7AJ9zKk1TFrJXHM04jOOJJeBSp8jlTgCeP+tr
qwGFd+WaNqTepZ0wun5g9Uc=
=QEBu
-----END PGP SIGNATURE-----
2005-07-03 21:51:09 -08:00
mpm@selenic.com
d56d83961e A bunch of parsing/help updates
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A bunch of parsing/help updates

more explanation of how to get non-basic commands
shorten names of debug functions and add docstrings
add undo long docstring
promote anotate, export, and revert
make the global opts array global
refactor parsing
kill two unused arguments to fancyopts
update test-help

manifest hash: 459ae2273aaf54f71b4576677a681dc53ab2908c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyEDhywK+sNU5EO8RAr0DAJ9LTu8Fc2quLRtuwLPTQzWqlOJWKwCbBpZk
pnMkYnshsutVYljcil1P46I=
=Sleg
-----END PGP SIGNATURE-----
2005-07-03 11:47:45 -08:00
mpm@selenic.com
89f9d08d36 Shorten help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shorten help

Basic commands are now marked with "^" in the table
only basic commands are show in hg help by default
copyright banner not displayed with help by default

manifest hash: 7337678588354ca669a3b13d1fbb0ad893563947
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx9LNywK+sNU5EO8RAokCAJ9ZK2sGEto9RLyukFX+n0nzHRoB9QCfU84I
e+Evc2g91kSS92FPrIC+Hnw=
=yUmt
-----END PGP SIGNATURE-----
2005-07-03 03:58:05 -08:00
mpm@selenic.com
c6129ace2e options: kill -d for debug
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

options: kill -d for debug

You must now use --debug.
This is a preparatory step for changing the option parsing from:

hg [global-opts] <command> [command-opts]

to

hg [global-opts] <command> [global or command opts]


manifest hash: ec5ecc687340baa109a98b742f1cd8d1f4aadeed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx4urywK+sNU5EO8RAl90AJ0fwKU/GwHpJvlTFl5naeJbkceWewCgh4jK
kaTSSodACgPzgbFiid5RL4Y=
=siEe
-----END PGP SIGNATURE-----
2005-07-02 22:54:35 -08:00
mpm@selenic.com
c7c6ca830d [PATCH] hg revert
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] hg revert

From: Bryan O'Sullivan <bos@serpentine.com>

Add revert command.

manifest hash: 0094e6bf421f34bd0492a33f95400b1b095a6bdc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx2BaywK+sNU5EO8RAigMAKCrvgTtIDuirCsMVlbiTMqaJy3UNgCdEcTL
hMN1X8FZi6sH+NjUdr9sYBg=
=i58L
-----END PGP SIGNATURE-----
2005-07-02 19:49:46 -08:00
mpm@selenic.com
57e171d1a4 Fix up test-help for export
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix up test-help for export

manifest hash: a178ced2f645770d11c88261489dd8e8d876d94c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx03xywK+sNU5EO8RAs1sAKCNgjEvBkGKaLi//pRy+NyNoDYKgQCghd6F
RA+ydCpNoC9k2fvge29c8fc=
=DoKn
-----END PGP SIGNATURE-----
2005-07-02 18:31:13 -08:00
mpm@selenic.com
ecca3da73a Actually warn on pulling from an unrelated repository
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Actually warn on pulling from an unrelated repository

add some comments to findincoming
track the base nodes of the fetch set
report if the base set only contains nullid
add a test case

manifest hash: 3fc038a6041b0967a20503f5ec8876efc038841a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx0yLywK+sNU5EO8RAlK6AJ9J/GKPpYSMzTqmguXPWOISJ+zY5gCghd+j
ClLpn0dKZnB46dh0F8zhuuk=
=emNb
-----END PGP SIGNATURE-----
2005-07-02 18:25:15 -08:00
mpm@selenic.com
be3df7015c Remove empty directories on update
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remove empty directories on update

manifest hash: 113969ec14c75eb9e1013b23cf096f722932b84d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxyVoywK+sNU5EO8RAklKAKCzSUhuFClkHN85qlnDp5iVscZbtgCeJVwx
dqaqG20GjPMWBg0d1ggI/ro=
=o2Uv
-----END PGP SIGNATURE-----
2005-07-02 15:38:16 -08:00
mpm@selenic.com
3541eec63a Update test-diffdir output
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Update test-diffdir output

manifest hash: cd0fb3a3708897fe959852c48de1804fb0b74bf4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxwmcywK+sNU5EO8RAlRCAJ9SBrMQLSRVY1j3V1YO25dGbIN18QCfTbHJ
6/4+xEBX2j3VxUf1g3ayce8=
=kcDR
-----END PGP SIGNATURE-----
2005-07-02 13:39:40 -08:00
mpm@selenic.com
af937ff86a Fix dodiff/changes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix dodiff/changes

dodiff was failing to pass both nodes to changes
changes was comparing things backwards, resulting in added/deleted confusion
  in dodiff
changes was deleting things from cached manifests, use copy()
changes now sorts output lists

manifest hash: 6ad972b0895b9d855e246efef49c2ebd943946b3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxZhZywK+sNU5EO8RApZWAJ9mYv1zc7IjXPIMwbVsfroQs8jfBACgn7R7
rTqLTTyIkM1OpL/ebnMtCOY=
=VcIr
-----END PGP SIGNATURE-----
2005-07-01 11:24:09 -08:00
mpm@selenic.com
8e37c21463 [PATCH] Tests for clone command
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Tests for clone command

From: Bryan O'Sullivan <bos@serpentine.com>

This patch adds two new tests.  One tests clone's correct operation, the
other that clone fails when it should.

This patch depends on oserror.patch.

manifest hash: a0c9c4932baf29e7b33b2bd2003ddd2254ce65d3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxPX9ywK+sNU5EO8RAmSNAJ9esixtATdkszwLltu65dzpKf6P4gCcCqGT
+Z7CTbXRTFcJvmXFlvEo0xE=
=6fqz
-----END PGP SIGNATURE-----
2005-06-30 23:51:25 -08:00
mpm@selenic.com
997f2e74be Merge with TAH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merge with TAH

manifest hash: 1742d7ba2093dc643b57e45167cb2d794212cbb9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxPCQywK+sNU5EO8RAkr0AJ9qut/31lCLQ/xY3FWaF3c21RhS7wCfW1eV
3WexPDsJldMAr3V5vc9eowA=
=pJYu
-----END PGP SIGNATURE-----
2005-06-30 23:28:16 -08:00
Thomas Arendsen Hein
bd3eea9171 Add an empty line after description in verbose mode of show_changeset.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add an empty line after description in verbose mode of show_changeset.
This makes it a little bit easier to see where a new changeset starts.

manifest hash: dd0dc3a135ca2fabed03b86116863c93a451670d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCxOVgW7P1GVgWeRoRAjtdAJ9B/ECd/Rhws2Bd+IcwRyqcYEN0ugCfbug2
Uhy2yUhV+mlrqFkoNBkcOmM=
=ttyp
-----END PGP SIGNATURE-----
2005-07-01 07:40:32 +01:00
Thomas Arendsen Hein
945bc56a14 Work-around failing tests/test-bad-pull with slow bg process.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Work-around failing tests/test-bad-pull with slow bg process.
Without the 'sleep 2' python dumb.py often appeared after hg clone.

manifest hash: b32381ac46a7691f2a92595b650b2406853644c2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCxOM+W7P1GVgWeRoRAjgTAJ9OqrikdK043Eiyyx9dG8DR1XZ7tgCggdmM
AVYvAZO3P+WlaWDu3MaxEXY=
=0XN5
-----END PGP SIGNATURE-----
2005-07-01 07:31:26 +01:00
Thomas Arendsen Hein
51ae3ccedf Remove bashisms and use /bin/sh instead of /bin/bash.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remove bashisms and use /bin/sh instead of /bin/bash.

manifest hash: 25560e04ff8ac33a6d8b82d2328b4e90578bee4c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCxOEjW7P1GVgWeRoRAm9XAJ9IjlbMerPYEhKQQu7Ufcm6630cDwCfdXJ3
865XH6YVMuCYNjf3eibwQaM=
=r3gh
-----END PGP SIGNATURE-----
2005-07-01 07:22:27 +01:00
mpm@selenic.com
bb74daf6a1 Refactor diffrevs/diffdir into changes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Refactor diffrevs/diffdir into changes

Add dirstate.changes to replace most of diffdir
Add localrepository.changes to replace diffrevs/diffdir

This code can now efficiently check for changes in single files, and
often without consulting the manifest. This should eventually make 'hg
diff Makefile' in a large project much faster.

This also fixes a bug where 'hg diff -r tip' failed to account for
files that had been added but not committed yet.

manifest hash: 20fde5d4b4cee49a76bcfe50f2dacf58b1f2258b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxMxpywK+sNU5EO8RAhzOAJ9VLQJoC+hiRYQtTSPbDhXBEJfQZwCgpDx9
GAwQ9jZHNsgXckBfXNCkJV8=
=hMuc
-----END PGP SIGNATURE-----
2005-06-30 20:54:01 -08:00
mpm@selenic.com
2aa9a69bb8 Fix up test-bad-pull output
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix up test-bad-pull output

manifest hash: 4ed6670e4f20a0ad9e5b483ccc3003e8bd5c094c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwxwdywK+sNU5EO8RAm4RAJ9MuISeQhLqfxo4/w3WLjk18y6gXwCeMwCf
4nvEMnJCPMyk4MSMfzPnCnQ=
=wAOy
-----END PGP SIGNATURE-----
2005-06-29 14:09:33 -08:00
mpm@selenic.com
986879ff2d Fix empty pull bug that appeared this morning
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix empty pull bug that appeared this morning

manifest hash: 53e4709a701f03d9905933c80758ba13caf3998c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwxdJywK+sNU5EO8RAuoPAJ4tb9fd1Emm21/HLAEpyntaW2uoHQCfcc8z
J8LB4mVG3gTsvRtiLZBVV/g=
=+2C3
-----END PGP SIGNATURE-----
2005-06-29 13:48:57 -08:00
mpm@selenic.com
4303665bb4 [PATCH] replace history with log
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] replace history with log

From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>

Merge hg history into hg log leaving the first as an alias

(tweaked by mpm: update docs, tests, use existing alias mechanism)

manifest hash: f85001a4373b8b823a6221ba5c506628059d6779
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwSr1ywK+sNU5EO8RAmbAAJ9HlFkf8/qLOAQUtj8CWxGRPEyzVgCgtXwP
SdnAg1a2q4693+TBiOjrimY=
=w9rf
-----END PGP SIGNATURE-----
2005-06-28 02:48:21 -08:00
mpm@selenic.com
a58fa92f5c Fix troubles with clone and exception handling
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix troubles with clone and exception handling

Clone deletes its directory on failure

This was deleting the lockfile out from under the lock object before
it got destroyed

This patch shuts lock up and makes the cleanup code for clone a little
cleaner.

manifest hash: f666fddcf6f3a905020a091f5e9fd2cb5d806cdd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwSGOywK+sNU5EO8RAkx2AKCIxPczl9YWnuUM+bMQnpVr8kv6uQCeNWld
SUxSB99PGJHhq1LWFaSJJNw=
=Frk/
-----END PGP SIGNATURE-----
2005-06-28 02:08:14 -08:00
mpm@selenic.com
41e73a4489 Update undo test
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Update undo test

manifest hash: b168c0b983b6aaeaf9cf4c74d65047eb4a5629f9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwSDBywK+sNU5EO8RAswoAKCb98RFAlTrEjsqGKhDX70m/CqriwCdGDOj
LFlbZE+HoloZxTjXPaLpVmI=
=dYu8
-----END PGP SIGNATURE-----
2005-06-28 02:04:49 -08:00
mpm@selenic.com
d18e292a59 [PATCH] simplify init
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] simplify init

From: Bryan O'Sullivan <bos@serpentine.com>

Remove source directory option from "hg init".

manifest hash: 2ace7b16c962fb434340b937fbcd494f3098a85f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwQG/ywK+sNU5EO8RArbCAJ9DG45GepMI0Z9KWXqV8gmEbV1WfwCgotih
LGAkD8iTfOLn7HIPVqt9FWY=
=65uW
-----END PGP SIGNATURE-----
2005-06-27 23:52:31 -08:00
mpm@selenic.com
3208f69a04 Pull from TAH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pull from TAH

manifest hash: 08b55e07198b8a4272753895fe3727d9f52ebb75
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwO5YywK+sNU5EO8RArUtAJ9gsYYNbZH22COOz9B7ppwgCDxM8ACfYWcl
n9Dim3Z7qepGUXvRDEeFZ9c=
=JMQx
-----END PGP SIGNATURE-----
2005-06-27 22:29:44 -08:00
mpm@selenic.com
48708882e3 [PATCH] umask for run-tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] umask for run-tests

From: Bryan O'Sullivan <bos@serpentine.com>

Another local factor affecting test breakage: umask.  Mine is 002, but
some other people seem to use 022.

This patch makes run-tests explicitly set a umask.

manifest hash: 39aaea44746b113e992bcf0a9e93d9de3961c907
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwOz8ywK+sNU5EO8RAvr7AJ9gRknqzQD6UmV1SpzHGqQyclcuxgCeItoD
W7yNbrtIAPyMJsfwhVECx3s=
=KhYb
-----END PGP SIGNATURE-----
2005-06-27 22:23:56 -08:00
mpm@selenic.com
8c48a798fe [PATCH] Set locale before run-tests does anything
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Set locale before run-tests does anything

From: Bryan O'Sullivan <bos@serpentine.com>

On Mon, 2005-06-27 at 11:58 -0700, Bryan O'Sullivan wrote:

> I'm in en_us.UTF-8.

This discrepancy between my locale and Matt's broke several tests for
me, by the way.  I think that the run-tests script should forcibly set
the locale to either "C" or "en_us.UTF-8" before it runs anything.

Since "C" is likely to be more portable, it's probably the right choice.
Here's the patch.

manifest hash: 1bf3291eafbde0cdeb1222bb72295c0e2974f236
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwOyVywK+sNU5EO8RAk18AJ4pYmvvJMZfFIR39NqvquXhhWPUTQCcDhhg
Ce12AHU8o+m/aFToyRaaQL8=
=5nRs
-----END PGP SIGNATURE-----
2005-06-27 22:22:13 -08:00
mpm@selenic.com
1bbff51e92 Add initial hook support
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add initial hook support

This adds the basic hook code as well as pre and post-commit hooks.
Argument passing is by environment variable key/value pairs so that
extra data can be passed over time. File lists will generally not be
passed to hooks as these can be extremely long (>1M).

manifest hash: 45cf9bab432782c391bc9c1c048c84cc75d52740
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwOukywK+sNU5EO8RAsVsAJ9QipR2aKRSSvoRNo+3If6JddUDkwCgkZrM
KEmZpUOxhNHqezFVrHDRTjE=
=aedm
-----END PGP SIGNATURE-----
2005-06-27 22:18:12 -08:00
Thomas Arendsen Hein
589d5e4eb0 Fixed test for previous change of 'hg -v history'.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fixed test for previous change of 'hg -v history'.

manifest hash: 5a7d918645596751577b95d0dfba28fd70274b48
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCwOjDW7P1GVgWeRoRAvL7AJwO27B6qhOZZC+16SPjIxJBKz3BSwCghmkB
OMzLY0CjZSHixF5xs0ZU6Dw=
=F04F
-----END PGP SIGNATURE-----
2005-06-28 07:05:55 +01:00
Thomas Arendsen Hein
02baad5845 Use "kill $!" to kill running background processes.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use "kill $!" to kill running background processes.

manifest hash: 94563ef45ac0c8d15c9c827430f3d87380946434
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCv5QNW7P1GVgWeRoRAm+1AJwMopIWkvc/eG21mm/gbTrC9sCvhACePQl/
VOPdJKQxutQTCdAqA8iMzck=
=7ejv
-----END PGP SIGNATURE-----
2005-06-27 06:52:13 +01:00
Thomas Arendsen Hein
3dc5af6cf7 Fixed test-flags and .out for arbitrary umask settings. Use -ex shell flags.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fixed test-flags and .out for arbitrary umask settings. Use -ex shell flags.

manifest hash: b6c5a0bb17de794fc5822b0672af8b977bd77950
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCv5GIW7P1GVgWeRoRAimoAJ9s2RlZ3ljH8DZE2vbCmoWJX973LQCglo+s
GmajRX7o3kJxY88aNGy+TNs=
=TKmo
-----END PGP SIGNATURE-----
2005-06-27 06:41:28 +01:00
Thomas Arendsen Hein
e29a5892e2 Make show_changeset show added and deleted files in verbose mode.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Make show_changeset show added and deleted files in verbose mode.

manifest hash: 189c2da64862f471b75b9d205907bff86c7423a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCv4voW7P1GVgWeRoRAlLaAJsHGWEfNMMfDdsnk9/G9w86nf2I2QCgi4Rc
3HgiUFeTPi71I0tH+SV5Gsc=
=/see
-----END PGP SIGNATURE-----
2005-06-27 06:17:28 +01:00
mpm@selenic.com
4fb29605c3 [PATCH] add clone command
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] add clone command

Add clone command. Mark with-source version of "init" as deprecated.

manifest hash: 3c31263474977c3d8303f45f71c44f7b7e10e97e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvzhOywK+sNU5EO8RAmh+AJwIlRfX143oxKShgPWF2dbDvCuH3gCbBrAW
isIHptwVRX8pcA0lU638pHo=
=ZoQy
-----END PGP SIGNATURE-----
2005-06-26 15:20:46 -08:00
mpm@selenic.com
c64ecbc29e [PATCH] Get run-tests working on 64-bit machines.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Get run-tests working on 64-bit machines.

From: Bryan O'Sullivan <bos@serpentine.com>

manifest hash: 3704997be1744478414cddcd79c7bea5ccd6a1b1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvfdvywK+sNU5EO8RAm5iAJ9mWxI4o2j7IM7Mko7IjfKfNtWJqwCcDekn
6GDlcDo/Q3nv8ybFzykwQjY=
=tS2i
-----END PGP SIGNATURE-----
2005-06-25 16:31:43 -08:00
mpm@selenic.com
92f7e42f97 [PATCH] add "root" command
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] add "root" command

From: Bryan O'Sullivan <bos@serpentine.com>

Add "root" command

Useful for scripting.

manifest hash: a2df76139130ac034e53872f24f21f31b083bc42
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvQZGywK+sNU5EO8RAtYSAKCKRyuxzcDOTV9q+GY5WZDJ/VZgzwCfXhut
VvGtiSnIqoBeQ/PtPsokMb0=
=gUsq
-----END PGP SIGNATURE-----
2005-06-24 23:22:46 -08:00
mpm@selenic.com
d0abc4682a Add version command
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add version command

Suggested by Arun Sharma

manifest hash: 7fc056ffe45ee854f00e76916a560fba28c74a91
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvQW+ywK+sNU5EO8RAqGQAJ91Eysw4tHVpOB7ICeN9hMF/p+lfQCgksmg
TAKr5VNrw2wIZtSKjgQRqiA=
=8w84
-----END PGP SIGNATURE-----
2005-06-24 23:20:30 -08:00
mpm@selenic.com
6e6f8cf1d3 Fix pipe timing for copy test
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix pipe timing for copy test

manifest hash: 75c389c84f4edacdd9163b6e5234f3ea334ca4b3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvQEDywK+sNU5EO8RAtGDAJ0QKBXRg8qQ/Vkye9xEatVUREtU1ACcCISd
cJDQzk62ukLW2/gcCLOHHMQ=
=tpar
-----END PGP SIGNATURE-----
2005-06-24 23:00:19 -08:00
mpm@selenic.com
b950471373 Add rawcommit tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add rawcommit tests

manifest hash: 6989f36a35fd7278393814623cd10b919b3c3803
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuyrVywK+sNU5EO8RAoG/AJ9OZktC6aDopPIKdJT+WHTZrG9mLgCfbAFM
0JL5AQ67+IazfIvMATCz97Y=
=QJWw
-----END PGP SIGNATURE-----
2005-06-23 13:34:13 -08:00
mpm@selenic.com
ff537c08df Fix up tests for command name changes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix up tests for command name changes

manifest hash: 04b04d0b2ca96f29b3b9a52e4ed8478ee7e2761f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuvDTywK+sNU5EO8RAnKzAJ9JSRUsVy/kHp3CweXpsJiu+fXCKQCgq0Pt
OOUKYPj6aJOvxB+Zz17X8dg=
=EyYE
-----END PGP SIGNATURE-----
2005-06-23 09:26:43 -08:00
mpm@selenic.com
e9aa253a85 Fix up test-merge1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix up test-merge1

The third test was wrong and showed up after fixing the typo in
compare code

manifest hash: 306ab9936457ad90e7c7a226d6407ca586262650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuPH8ywK+sNU5EO8RAql+AJsH/bxFMTMbUiaEoLNhXS6wNkzLAgCfQxDJ
3j5pZ3MzrtPD0y4wC3vIAA4=
=VKEy
-----END PGP SIGNATURE-----
2005-06-21 21:07:08 -08:00
mpm@selenic.com
663c3fc4ae Pull from TAH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pull from TAH

manifest hash: 600d04efbd836d555d11a3bd9d821d1d8c0a9790
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuPFxywK+sNU5EO8RAjfzAKC18Zc2EOkXhy1zcpgGnyPHnFMdmgCfW5Ut
I5HSWqZMt8H0WJx1Or7ajNc=
=27D5
-----END PGP SIGNATURE-----
2005-06-21 21:04:49 -08:00
mpm@selenic.com
ee0f69d039 [PATCH] Removal of a file added by merging branches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Removal of a file added by merging branches

From: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>

Fixing a bug where removal of a file which is added when doing a merge
would cause python exception to be thrown.

manifest hash: 0bdd80e8abcee6aaa4804bb588f9939596fb3dd0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuNjLywK+sNU5EO8RAo44AJ4mvjsJcYOj/EmVDFrdkK3D3WHFSwCffxfV
cRl8mXc252/oRcYaMZbgrlg=
=S5x6
-----END PGP SIGNATURE-----
2005-06-21 19:19:39 -08:00
mpm@selenic.com
bc5ccf31e3 [PATCH] Don't prompt user for keep-vs-delete when the merge is about to be aborted
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Don't prompt user for keep-vs-delete when the merge is about to be aborted
From: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>

If an "hg update" is attempted across branches, it is aborted with an
error message, basically saying that "update -m" is required.  Don't
prompt the user for "keep vs delete" kinds of questions before deciding
to abort.

manifest hash: 250d3a0e866af2feac9344d499b26c254c33abc4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuNeDywK+sNU5EO8RAu2BAJwNWXXN2L+4TnOUGaOe9iBj6CgOYgCfRKIE
RF5czx2UQ2pSIP119xzq9mQ=
=Akj6
-----END PGP SIGNATURE-----
2005-06-21 19:14:11 -08:00
mpm@selenic.com
ce114ac5ea Fix ls output for test-flags
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fix ls output for test-flags

manifest hash: 491b49f66da7c19cbfe9635dc03e4ba510052ed3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuNc4ywK+sNU5EO8RAilRAJ4gOaWbFqXOkat4jCZfierb8aTZvACgr8NP
TrvpZ3vWf0aY0bYkkGQDSDw=
=HVCS
-----END PGP SIGNATURE-----
2005-06-21 19:12:56 -08:00
mpm@selenic.com
d5711e92d7 [PATCH]: Typo in localrepository.update
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH]: Typo in localrepository.update

From: Goffredo Baroncelli <kreijack@libero.it>

I think that there is an error in the method update() of the class
localrepository. The variable 'm2n' was used instead of 'man'; so the
parent2 flags is computed instead of the ancestor flags.

manifest hash: dc11810367615245c4b39660d135ab3c0e71b85d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuNWpywK+sNU5EO8RAv9ZAKCxwbd242xZQ1CCrW2WDdQ4gclKtACghXYl
7j1YTRpINItwdXzak3cBS60=
=+Tf8
-----END PGP SIGNATURE-----
2005-06-21 19:06:17 -08:00
mpm@selenic.com
e1e034ba85 Pick up tests from previous patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pick up tests from previous patch

manifest hash: 3ec4c3cb96e15322f7489d89b7b92ee214f6cfb9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuNIaywK+sNU5EO8RAuGOAJ9YXXfXstC6wysknsXPAL9jDeiUDwCgpFJ3
P5goy7Zw3ypinBEwZrhgXM8=
=6fKs
-----END PGP SIGNATURE-----
2005-06-21 18:51:06 -08:00
mpm@selenic.com
659dbef2f6 [PATCH] Merging identical changes from another branch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Merging identical changes from another branch

From: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>

The issue comes up when a local uncommitted *new* file (i.e. not in the
current manifest) is being merged with an identical file from a branch.
Since the file is not in the current manifest (it's either in the
current "to-be-added" list, or in the "unknown" state), there's no
(local) node from which to create a mergepoint.

manifest hash: 4e64ce654a6473524789a97bbaf8bff61b4343af
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuM/1ywK+sNU5EO8RAn7xAKCJoH/CgzVK4h4xPJDrd2lY9XOINACgmt01
92uuMswZXcoCchQAaxew7C0=
=qRsk
-----END PGP SIGNATURE-----
2005-06-21 18:41:57 -08:00
mpm@selenic.com
6de06ab6cb [PATCH] Unintuive use
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Unintuive use

From: Vincent Danjean <vdanjean.ml@free.fr>

> 1) "hg pull" does not tell what and if it does something.
> 2) hg does not tell if the data have been merge or not, if we have to
> call resolve, ...

Here is a patch for 1) and 2). It also add an option to 'pull' to call
update if there is something new.

Tweaked by mpm:
 - change message style
 - use ui.status
 - change option from resolve to update

manifest hash: a61a7af00ef2f33867f6c88f95dc8258cb1a3e51
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuMcpywK+sNU5EO8RAucjAKC06gwAico7Wz5YOcp5u9NVxEhItwCfcIzA
VmiifZTj5ZUjTTcPhmiKh2M=
=rbLT
-----END PGP SIGNATURE-----
2005-06-21 18:04:25 -08:00
mpm@selenic.com
11f489a590 [PATCH] (3/4) Removing an added file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] (3/4) Removing an added file

From: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>

Here's an hg changeset that deals with "hg add"ing and then "hg remove"ing
a file without ever committing it.  Previously, this caused a python
exception
at commit time.

Test case included in the patch.

manifest hash: 4d012f3f8b1aa664fed9e8bc2849931b28728acd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuMPtywK+sNU5EO8RAuxMAKCmeMLqOUBmUfCfbQgYOAysOvKkwgCfcJai
2My0M7KqhwnJSbZXbGIOcow=
=N7N0
-----END PGP SIGNATURE-----
2005-06-21 17:50:37 -08:00
mpm@selenic.com
109875616d From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>

add hg tag command

Tweaks by mpm:
 clean up error messages
 handle non-existent .hgtags file
 add tests
 update test-help output

manifest hash: 569c7fe01193159919af2566e8f5089409ffad65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuMMwywK+sNU5EO8RAuUdAJ90TkT/D9lDOnEVAW2d3WT7K8Ct3QCggiJA
c9Qbd79K4UWKQAVkYq03cOY=
=SWS8
-----END PGP SIGNATURE-----
2005-06-21 17:47:28 -08:00