mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
hgext: rename show.py to fbshow.py to prevent upstream collision
Summary: Upstream recently introduced show as an extension. Because the file name is the same and it lives in core, extensions.show now points to it. It behaves differently. Rename our extension. In the next diff I'll update facebook.rc to make extensions.show point to our version. Test Plan: Ran tests Reviewers: durham, #sourcecontrol Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4845959
This commit is contained in:
parent
918e1011b3
commit
8bc1e221b6
@ -1,4 +1,4 @@
|
||||
# show.py
|
||||
# fbshow.py
|
||||
#
|
||||
# Copyright 2016 Facebook, Inc.
|
||||
#
|
@ -1,7 +1,7 @@
|
||||
$ cat >> $HGRCPATH << EOF
|
||||
> [extensions]
|
||||
> dialect = $TESTDIR/../hgext3rd/dialect.py
|
||||
> show = $TESTDIR/../hgext3rd/show.py
|
||||
> show = $TESTDIR/../hgext3rd/fbshow.py
|
||||
> EOF
|
||||
|
||||
$ hg help -e show | head -n 1
|
||||
|
@ -1,8 +1,8 @@
|
||||
$ extpath=`dirname $TESTDIR`
|
||||
$ cp $extpath/hgext3rd/show.py $TESTTMP # use $TESTTMP substitution in message
|
||||
$ cp $extpath/hgext3rd/fbshow.py $TESTTMP # use $TESTTMP substitution in message
|
||||
$ cat >> $HGRCPATH << EOF
|
||||
> [extensions]
|
||||
> show=$TESTTMP/show.py
|
||||
> show=$TESTTMP/fbshow.py
|
||||
> EOF
|
||||
|
||||
We assume that log basically works (it has its own tests). This just covers uses
|
||||
|
Loading…
Reference in New Issue
Block a user