Skip to content
Snippets Groups Projects
Commit fe458d078ed7 authored by Matt Harbison's avatar Matt Harbison
Browse files

test-import: don't use printf to append an extension to $HGRCPATH

The extension was failing to load on Windows because $TESTTMP contains a path
component 'test', prefixed by a path separator '\'.  That combination ends up
converted to "...<tab>est...".
parent c858945f6969
No related branches found
No related tags found
No related merge requests found
......@@ -1735,7 +1735,10 @@
> mercurial.cmdutil.extrapostimport.append('foo')
> mercurial.cmdutil.extrapostimportmap['foo'] = postimport
> EOF
$ printf "[extensions]\nparseextra=$TESTTMP/parseextra.py" >> $HGRCPATH
$ cat >> $HGRCPATH <<EOF
> [extensions]
> parseextra=$TESTTMP/parseextra.py
> EOF
$ hg up -C tip
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cat > $TESTTMP/foo.patch <<EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment