view tests/test-dirstatedirs @ 11566:4d11fde55cc5

util: use fakebuffer as buffer in py3k There's no buffer type in py3k, util.py has a function, called fakebuffer, that implements a similar API. This patch implements fakebuffer as a memoryview wrapper in py3k.
author Renato Cunha <renatoc@gmail.com>
date Wed, 14 Jul 2010 22:59:57 -0300
parents 6dab29f6df37
children
line wrap: on
line source

#!/bin/sh

# test dirstate._dirs refcounting
hg init t
cd t
mkdir -p a/b/c/d
touch a/b/c/d/x
touch a/b/c/d/y
touch a/b/c/d/z
hg ci -Am m
hg mv a z