##// END OF EJS Templates
diffstat: support filenames with whitespaces on renames...
diffstat: support filenames with whitespaces on renames This is a follow-up patch to D5628. `line.split()` cannot get filenames with whitespaces as mentioned by @yuja. This patch replaces `split()` method with `slice`. Corresponding tests were also added. Differential Revision: https://phab.mercurial-scm.org/D5709

File last commit:

r40758:0800d9e6 default
r41446:4a33a6bf default
Show More
test-remotefilelog-share.t
27 lines | 511 B | text/troff | Tads3Lexer
/ tests / test-remotefilelog-share.t
Matt Harbison
tests: disable remotefilelog on Windows...
r40758 #require no-windows
Martin von Zweigbergk
share: reload repo after adjusting it in postshare()...
r40609 $ . "$TESTDIR/remotefilelog-library.sh"
$ cat >> $HGRCPATH <<EOF
> [extensions]
> remotefilelog=
> share=
> EOF
$ hg init master
$ cd master
$ cat >> .hg/hgrc <<EOF
> [remotefilelog]
> server=True
> EOF
$ echo x > x
$ hg commit -qAm x
$ cd ..
$ hgcloneshallow ssh://user@dummy/master source --noupdate -q
$ hg share source dest
updating working directory
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Martin von Zweigbergk
remotefilelog: avoid accessing repo instance after dispatch...
r40611 $ hg -R dest unshare