aurum / test / drivers-bazaar.vim

Diff from to

test/drivers-bazaar.vim

                     \string(a:repo.functions.getrepoprop(a:repo, p))]
     endfor
 endfunction
+let skippednewcsprops=['hex', 'time', 'user', 'parents']
 function FormatCS(repo, cs, ...)
     let g:r+=[' >> Changeset']
     let maxlen=len('description')
             \                      '2000-01-01 16:23:00')
 call FormatCS(Brepo, Brepo.functions.getwork(Brepo), ['hex'])
 call Brepo.functions.commit(Brepo, "Multiline\ncommit\ncomment")
-call FormatCS(Brepo, Brepo.functions.getwork(Brepo), ['hex', 'time', 'user',
-            \                                         'parents'])
+call FormatCS(Brepo, Brepo.functions.getwork(Brepo), skippednewcsprops)
 call Brepo.functions.branch(Brepo, 'B-mod', 0)
 call Brepo.functions.label(Brepo, 'tag', 'seventh', '7', 0, 0)
 call Brepo.functions.label(Brepo, 'tag', '--force', '7', 1, 0)
 let r+=PurgeDiffPlusDates(Brepo.functions.diff(Brepo, '6', '1', 0,                {}))
 let r+=[' >> Diff (with file)']
 let r+=PurgeDiffPlusDates(Brepo.functions.diff(Brepo, '1', '6', ['bzrlines.lst'], {}))
+let r+=[' >> Push B to A (:parent)']
+call Brepo.functions.push(Brepo, 0, 0, ':parent')
+call FormatCS(Arepo, Arepo.functions.getcs(Arepo, '-1'), skippednewcsprops)
+let r+=[' >> Pull from B to C (default)']
+call Crepo.functions.pull(Crepo, 0, 0)
+call FormatCS(Crepo, Crepo.functions.getcs(Crepo, '-1'), skippednewcsprops)
 
 call WriteFile(r)
 source addEmessages.vim
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.