Source

repoman / tests / output / bundle.py.out

Full commit
adding bundletest
% preview outgoing
Outgoing changes to <ROOT>/forest1 (branch: core/dev)

~~~ (metadata) ~~~
changeset:   3:997a25584670
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

~~~ a ~~~
changeset:   2:6587ad1b3198
branch:      core/dev
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit a

~~~ b ~~~
changeset:   2:9e6d6bb14633
branch:      core/dev
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

~~~ c ~~~
no changes found

Bundle these changes (y/yes/n/no)? n
Bundle aborted.
% bundle outgoing, no extension
Bundling changes to <ROOT>/forest1 (branch: core/dev)
(metadata in)   no changes found
(metadata out)  1 changesets found
a               1 changesets found
b               1 changesets found
c               no changes found
Writing bundle file test.repo
% rollback and view incoming
Incoming changes from test.repo (all branches)

~~~ (metadata) ~~~
changeset:   3:997a25584670
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

~~~ a ~~~
changeset:   2:6587ad1b3198
branch:      core/dev
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit a

~~~ b ~~~
changeset:   2:9e6d6bb14633
branch:      core/dev
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

% pull bundle
Pulling changes from test.repo (all branches)

~~~ (metadata) ~~~
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

~~~ a ~~~
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

~~~ b ~~~
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

% rollback, strip and try both in (with and without --log), and pull with missing node
Incoming changes from test.repo (all branches)

~~~ (metadata) ~~~
changeset:   3:997a25584670
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

~~~ a ~~~
bundle error: changeset 11be38c2b8b7 is missing locally

~~~ b ~~~
changeset:   2:9e6d6bb14633
branch:      core/dev
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

Incoming changes from test.repo (all branches)
~~~ (metadata) ~~~
changeset:   3:997a25584670
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

a           bundle error: changeset 11be38c2b8b7 is missing locally
b           1 new changesets
Pulling changes from test.repo (all branches)

~~~ (metadata) ~~~
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

~~~ a ~~~
bundle error: changeset 11be38c2b8b7 is missing locally

~~~ b ~~~
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

% in smaller forest
Incoming changes from ../bundlef/test.repo (all branches)
The module b in the bundle is not part of the (local) forest

~~~ (metadata) ~~~
changeset:   3:997a25584670
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit b

~~~ a ~~~
changeset:   2:6587ad1b3198
branch:      core/dev
tag:         tip
user:        Jane Doë <jane.doe@rlyeh.org>
date:        Thu Jan 01 00:00:00 1970 +0000
summary:     commit a

Pulling changes from ../bundlef/test.repo (all branches)
The module b in the bundle is not part of the (local) forest

~~~ (metadata) ~~~
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

~~~ a ~~~
added 1 changesets with 1 changes to 1 files
1 files updated, 0 files merged, 0 files removed, 0 files unresolved

% test bundle --strip
Restricting list of modules to 'c'
Bundling changes to <ROOT>/forest1 (branches: core/a, core/c)
(metadata in)   no changes found
(metadata out)  5 changesets found
c               6 changesets found
Writing bundle file strip.bundle
Stripping bundled changesets.... done
@  changeset:   7:e2d6b153a588
|  branch:      core/d
|  tag:         tip
|  user:        Jane Doë <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:00 1970 +0000
|  summary:     leaf3
|
o    changeset:   6:c22d82c30934
|\   branch:      core/c
| |  parent:      3:1f0130e1caad
| |  parent:      5:c35e172c7d45
| |  user:        Jane Doë <jane.doe@rlyeh.org>
| |  date:        Thu Jan 01 00:00:00 1970 +0000
| |  summary:     merge
| |
| o  changeset:   5:c35e172c7d45
|/   branch:      core/b
|    parent:      3:1f0130e1caad
|    user:        Jane Doë <jane.doe@rlyeh.org>
|    date:        Thu Jan 01 00:00:00 1970 +0000
|    summary:     p2
|
| o  changeset:   4:c6a63c835fcd
|/   branch:      core/dev
|    user:        Jane Doë <jane.doe@rlyeh.org>
|    date:        Thu Jan 01 00:00:00 1970 +0000
|    summary:     outer2
|
o  changeset:   3:1f0130e1caad
|  branch:      core/dev
|  user:        Jane Doë <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:00 1970 +0000
|  summary:     outer1
|
o  changeset:   2:78d6124a005f
|  branch:      core/dev
|  user:        Jane Doë <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:00 1970 +0000
|  summary:     base
|
o  changeset:   1:11be38c2b8b7
|  branch:      core/dev
|  user:        Jane Doe <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:30 1970 +0000
|  summary:     initial core/dev
|
o  changeset:   0:8759c9b85d97
   branch:      core/stable
   user:        Jane Doe <jane.doe@rlyeh.org>
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     initial core/stable

Restricting list of modules to 'c'
Bundling changes to <ROOT>/forest1 (branches: core/a, core/c, core/d)
(metadata in)   no changes found
(metadata out)  5 changesets found
c               7 changesets found
Writing bundle file strip.bundle
Stripping bundled changesets.... done
o  changeset:   4:c6a63c835fcd
|  branch:      core/dev
|  tag:         tip
|  user:        Jane Doë <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:00 1970 +0000
|  summary:     outer2
|
@  changeset:   3:1f0130e1caad
|  branch:      core/dev
|  user:        Jane Doë <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:00 1970 +0000
|  summary:     outer1
|
o  changeset:   2:78d6124a005f
|  branch:      core/dev
|  user:        Jane Doë <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:00 1970 +0000
|  summary:     base
|
o  changeset:   1:11be38c2b8b7
|  branch:      core/dev
|  user:        Jane Doe <jane.doe@rlyeh.org>
|  date:        Thu Jan 01 00:00:30 1970 +0000
|  summary:     initial core/dev
|
o  changeset:   0:8759c9b85d97
   branch:      core/stable
   user:        Jane Doe <jane.doe@rlyeh.org>
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     initial core/stable

% test incoming with and without -b
Restricting list of modules to 'c'
Incoming changes from strip.bundle (branches: core/d, core/c)
(metadata)  5 new changesets
c           4 new changesets
Restricting list of modules to 'c'
Incoming changes from strip.bundle (all branches)
(metadata)  5 new changesets
c           5 new changesets