mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
aa5f44fdf1
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
27 lines
656 B
Perl
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
|