tests/test-bookmarks.t
changeset 13604 3f6a4579f803
parent 13477 0fb2ff949790
child 13663 d16c99f16f00
equal deleted inserted replaced
13603:395a84f78736 13604:3f6a4579f803
   242 
   242 
   243 test id
   243 test id
   244 
   244 
   245   $ hg id
   245   $ hg id
   246   db815d6d32e6 tip Y/Z/x  y
   246   db815d6d32e6 tip Y/Z/x  y
       
   247 
       
   248 test clone
       
   249 
       
   250   $ hg bookmarks
       
   251      X2                        1:925d80f479bb
       
   252      Y                         2:db815d6d32e6
       
   253    * Z                         2:db815d6d32e6
       
   254      x  y                      2:db815d6d32e6
       
   255   $ hg clone . cloned-bookmarks
       
   256   updating to branch default
       
   257   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   258   $ hg -R cloned-bookmarks bookmarks
       
   259      X2                        1:925d80f479bb
       
   260      Y                         2:db815d6d32e6
       
   261      Z                         2:db815d6d32e6
       
   262      x  y                      2:db815d6d32e6
       
   263 
       
   264 test clone with pull protocol
       
   265 
       
   266   $ hg clone --pull . cloned-bookmarks-pull
       
   267   requesting all changes
       
   268   adding changesets
       
   269   adding manifests
       
   270   adding file changes
       
   271   added 3 changesets with 3 changes to 3 files (+1 heads)
       
   272   updating to branch default
       
   273   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   274   $ hg -R cloned-bookmarks-pull bookmarks
       
   275      X2                        1:925d80f479bb
       
   276      Y                         2:db815d6d32e6
       
   277      Z                         2:db815d6d32e6
       
   278      x  y                      2:db815d6d32e6
       
   279 
       
   280 test clone with a specific revision
       
   281 
       
   282   $ hg clone -r 925d80 . cloned-bookmarks-rev
       
   283   adding changesets
       
   284   adding manifests
       
   285   adding file changes
       
   286   added 2 changesets with 2 changes to 2 files
       
   287   updating to branch default
       
   288   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   289   $ hg -R cloned-bookmarks-rev bookmarks
       
   290      X2                        1:925d80f479bb