mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
2fc16ce279
Summary: This was broken by D26702166 (373d9ade0a
).
Reviewed By: sfilipco
Differential Revision: D26736392
fbshipit-source-id: 8bae1599922c05193eba529d7f74c585f20d6f91
33 lines
668 B
Python
33 lines
668 B
Python
# coding=utf-8
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2 or any later version.
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import os
|
|
|
|
from testutil.autofix import eq
|
|
from testutil.dott import feature, sh, testtmp # noqa: F401
|
|
|
|
|
|
sh % "setmodernconfig"
|
|
|
|
sh % "hg init repo"
|
|
sh % "cd repo"
|
|
sh % "echo xxx" > "file"
|
|
sh % "echo yyy" > "Æ"
|
|
sh % "hg add file"
|
|
sh % "hg add Æ"
|
|
sh % "hg commit -m 'Æ'"
|
|
|
|
sh % "hg log -v" == """
|
|
commit: * (glob)
|
|
user: test
|
|
date: Thu Jan 01 00:00:00 1970 +0000
|
|
files: file Æ
|
|
description:
|
|
Æ
|
|
"""
|