##// END OF EJS Templates
convert: pass absolute paths to git (SEC)...
convert: pass absolute paths to git (SEC) Fixes CVE-2016-3105 (1/1). Previously, it was possible for the repository path passed to git-ls-remote to be misinterpreted as a URL. Always passing an absolute path to git is a simple way to avoid this.

File last commit:

r16913:f2719b38 default
r29051:a56296f5 3.8.1 stable
Show More
test-revlog-group-emptyiter.t
35 lines | 685 B | text/troff | Tads3Lexer
/ tests / test-revlog-group-emptyiter.t
Martin Geisler
tests: added a short description to issue numbers...
r12399 Issue1678: IndexError when pushing
Matt Mackall
tests: fix a bunch of pointless #s in unified tests
r12328
Pradeepkumar Gayam
tests: unify test-revlog-group-emptyiter
r11918 setting up base repo
$ hg init a
$ cd a
$ touch a
$ hg ci -Am a
adding a
$ cd ..
cloning base repo
$ hg clone a b
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd b
setting up cset to push
$ hg up null
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
$ touch a
different msg so we get a clog new entry
$ hg ci -Am b
adding a
created new head
pushing
$ hg push -f ../a
pushing to ../a
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 0 changes to 0 files (+1 heads)
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913 $ cd ..