sapling/eden/scm/tests/test-lfs-journal.t
Jun Wu aa5f44fdf1 tests: migrate test-[jl]*-t.py back to .t tests
Summary:
See the previous diff for context. Those tests are migrated back via the script
with some manual edits.

Reviewed By: sggutier

Differential Revision: D35102168

fbshipit-source-id: 46af2876323d6e4ea98ea5a565056f220d4f2462
2022-05-26 18:13:23 -07:00

27 lines
656 B
Perl

#debugruntest-compatible
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2.
# Test that journal and lfs wrap the share extension properly
$ cat >> $HGRCPATH << 'EOF'
> [extensions]
> journal=
> lfs=
> [lfs]
> threshold=1000B
> usercache=$TESTTMP/lfs-cache
> EOF
$ hg init repo
$ cd repo
$ echo s > smallfile
$ hg commit -Aqm 'add small file'
$ cd ..
$ hg --config 'extensions.share=' share repo sharedrepo
updating working directory
1 files updated, 0 files merged, 0 files removed, 0 files unresolved