Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-copy.out @ 406:d8abb687d501
[PATCH] Using monotone-viz/git-viz with mercurial
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Using monotone-viz/git-viz with mercurial
From: Vincent Danjean <vdanjean.ml@free.fr>
monotone-viz is a small GTK+ application that visualizes monotone
ancestry graphs. Its home page is:
http://oandrieu.nerim.net/monotone-viz/
As monotone and git are similar, the author adapted the 0.9 version to
display git ancestry graphs and call it git-viz. I cannot see any link
from the homepage, but looking in the archive of git ML, it can be found
here:
http://oandrieu.nerim.net/monotone-viz/git-viz-0.1.tar.gz
I few days ago, I adapted it so that it works with the last versions
of git/cogito. Patches and package are available here:
http://dept-info.labri.fr/~danjean/deb.html#git-viz
Today, I patched hgit so that it respects the output of git-diff-tree,
I added git-{diff-tree,cat-file,rev-list,rev-tree} that call hgit (2
lines scripts), and added the script 'hg-viz'.
hg-viz create a .git directory and store the SHA1 of the tip in
.git/HEAD and then call my git-viz.
All these modifications are in the attached patch.
I try it in the mercurial repository. After applying the patch, you
just have to add the contrib directory in your PATH and call hg-viz.
An example of what we can see is on my web page (probably not for a
long time) : http://dept-info.labri.fr/~danjean/temp/hg-viz.png
Vincent
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCuM50ywK+sNU5EO8RAtlvAJ425JJI9chCdSi8D+R2Af/vJEOUpACffC9e
fxjJ3umBkffj5g86jWaRGZ0=
=LwA2
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Tue, 21 Jun 2005 18:35:32 -0800 |
parents | 398737777644 |
children | 512d76558bd4 50da4bb9cab6 |
rev | line source |
---|---|
363 | 1 + hg init |
2 + echo a | |
3 + hg add a | |
4 + hg commit -t 1 -u test -d '0 0' | |
5 + hg status | |
6 ? .out | |
7 + cp a b | |
8 + hg copy a b | |
9 + hg status | |
10 A b | |
11 ? .out | |
12 + hg -d commit -t 2 -u test -d '0 0' | |
13 b | |
14 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 | |
15 + hg history | |
16 changeset: 1:3b5b84850bbed12e8ff8c1b87b32dc93c59ae6d8 | |
388
398737777644
Fixed tests for displaying tags in hg history and hg parents.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
382
diff
changeset
|
17 tag: tip |
363 | 18 user: test |
382
37249c522770
test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents:
363
diff
changeset
|
19 date: Thu Jan 1 00:00:00 1970 |
363 | 20 summary: 2 |
21 | |
22 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e | |
23 user: test | |
382
37249c522770
test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents:
363
diff
changeset
|
24 date: Thu Jan 1 00:00:00 1970 |
363 | 25 summary: 1 |
26 | |
27 + hg log a | |
28 revision: 0:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 | |
29 changeset: 0:c19d34741b0a4ced8e4ba74bb834597d5193851e | |
30 user: test | |
382
37249c522770
test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents:
363
diff
changeset
|
31 date: Thu Jan 1 00:00:00 1970 |
363 | 32 summary: 1 |
33 | |
34 + hexdump -C .hg/data/b.d | |
35 00000000 75 01 0a 63 6f 70 79 72 65 76 3a 20 62 37 38 39 |u..copyrev: b789| | |
36 00000010 66 64 64 39 36 64 63 32 66 33 62 64 32 32 39 63 |fdd96dc2f3bd229c| | |
37 00000020 31 64 64 38 65 65 64 66 30 66 63 36 30 65 32 62 |1dd8eedf0fc60e2b| | |
38 00000030 36 38 65 33 0a 63 6f 70 79 3a 20 61 0a 01 0a 61 |68e3.copy: a...a| | |
39 00000040 0a |.| | |
40 00000041 | |
41 + hg cat b | |
42 + md5sum | |
43 60b725f10c9c85c70d97880dfe8191b3 - | |
44 + hg cat a | |
45 + md5sum | |
46 60b725f10c9c85c70d97880dfe8191b3 - | |
47 + hg verify | |
48 checking changesets | |
49 checking manifests | |
50 crosschecking files in changesets and manifests | |
51 checking files | |
52 2 files, 2 changesets, 2 total revisions |