~ubuntu-branches/ubuntu/wily/mercurial/wily

« back to all changes in this revision

Viewing changes to tests/test-generaldelta.t

  • Committer: Package Import Robot
  • Author(s): Javi Merino
  • Date: 2013-11-01 23:19:57 UTC
  • mfrom: (1.2.38) (9.1.16 experimental)
  • Revision ID: package-import@ubuntu.com-20131101231957-hs70pwpinavlz3t6
Tags: 2.8-1
* New upstream release
* Fix mercurial-git and hgsubversion autopkgtest by loading the
  appropriate extension
* Bump standards-version to 3.9.5 (no change needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
  >   hg up -q -r 0
16
16
  >   hg pull . -q -r $r -R ../gdrepo
17
17
  > done
 
18
 
18
19
  $ cd ..
19
 
  $ regsize=`du -s -b repo/.hg/store/00manifest.i | cut -f 1`
20
 
  $ gdsize=`du -s -b gdrepo/.hg/store/00manifest.i | cut -f 1`
21
 
  $ if [ $regsize -gt $gdsize ]; then
22
 
  >   echo 'generaldelta increased size of a revlog!'
23
 
  > fi
 
20
  >>> import os
 
21
  >>> regsize = os.stat("repo/.hg/store/00manifest.i").st_size
 
22
  >>> gdsize = os.stat("gdrepo/.hg/store/00manifest.i").st_size
 
23
  >>> if regsize < gdsize:
 
24
  ...     print 'generaldata increased size of manifest'