mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
fix some check-code violations
Summary: 1) Export and variable setting on separate lines. 2) 80-col. Test Plan: python ../../hg-crew/tests/run-tests.py --with-hg ../../hg-crew/hg test-manifestdiskcache.t test-check-code.t Reviewers: #sourcecontrol, rmcelroy Reviewed By: rmcelroy Subscribers: rmcelroy, ikostia, mitrandir Differential Revision: https://phabricator.fb.com/D2903291 Signature: t1:2903291:1454630884:b51a536e05c59a84e3ac1d1bc91e5e1952edee6f
This commit is contained in:
parent
e8afb24cc7
commit
942f1d6a8b
@ -461,8 +461,10 @@ Excludes:
|
||||
try:
|
||||
enabled = True
|
||||
if masterrevset == 'tip':
|
||||
# 'tip' is what _masterrevset always returns when it can't find master or @
|
||||
ui.warn("warning: there is no master commit locally, try pulling from server\n")
|
||||
# 'tip' is what _masterrevset always returns when it can't find
|
||||
# master or @
|
||||
ui.warn(("warning: there is no master commit locally, try pulling "
|
||||
"from server\n"))
|
||||
|
||||
revdag = getdag(ui, repo, revs, masterrev)
|
||||
displayer = cmdutil.show_changeset(ui, repo, opts, buffered=True)
|
||||
|
@ -1,6 +1,7 @@
|
||||
Setup
|
||||
|
||||
$ export PYTHONPATH=$TESTDIR/..:$PYTHONPATH
|
||||
$ PYTHONPATH=$TESTDIR/..:$PYTHONPATH
|
||||
$ export PYTHONPATH
|
||||
|
||||
Test functionality is present
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user