mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
4fb29605c3
-----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-----
39 lines
781 B
Plaintext
39 lines
781 B
Plaintext
+ mkdir test
|
|
+ cd test
|
|
+ echo foo
|
|
+ hg init
|
|
+ hg addremove
|
|
+ hg commit -t 1
|
|
+ hg verify
|
|
checking changesets
|
|
checking manifests
|
|
crosschecking files in changesets and manifests
|
|
checking files
|
|
1 files, 1 changesets, 1 total revisions
|
|
+ hg clone . ../branch
|
|
+ cd ../branch
|
|
+ hg co
|
|
+ echo bar
|
|
+ hg commit -t 2
|
|
+ cd ../test
|
|
+ hg pull ../branch
|
|
pulling from ../branch
|
|
searching for changes
|
|
adding changesets
|
|
adding manifests
|
|
adding file revisions
|
|
modified 1 files, added 1 changesets and 1 new revisions
|
|
(run 'hg update' to get a working copy)
|
|
+ hg verify
|
|
checking changesets
|
|
checking manifests
|
|
crosschecking files in changesets and manifests
|
|
checking files
|
|
1 files, 2 changesets, 2 total revisions
|
|
+ hg co
|
|
+ cat foo
|
|
foo
|
|
bar
|
|
+ hg manifest
|
|
6f4310b00b9a147241b071a60c28a650827fb03d 644 foo
|