Page MenuHomePhabricator

Fix a property name collision in ArcanistHgServerChannel
ClosedPublic

Authored by epriestley on Feb 16 2017, 1:11 PM.
Tags
None
Referenced Files
F13062332: D17366.diff
Fri, Apr 19, 10:59 PM
F13060692: D17366.diff
Fri, Apr 19, 6:14 PM
Unknown Object (File)
Thu, Apr 11, 9:12 AM
Unknown Object (File)
Mon, Apr 1, 4:31 PM
Unknown Object (File)
Sat, Mar 30, 4:09 AM
Unknown Object (File)
Feb 29 2024, 10:28 AM
Unknown Object (File)
Feb 15 2024, 3:47 PM
Unknown Object (File)
Jan 24 2024, 11:51 PM
Subscribers
None

Details

Summary

See D2665. Here, channel is the Mercurial wire protocol channel name ("o" = "output", "e" = "error", etc), not the underlying channel from PhutilProxyChannel.

Rename the property so there's no collision.

Test Plan
$ ../../core/lib/arcanist/scripts/hgdaemon/hgdaemon_client.php . --trace --skip-hello
array(3) {
  [0]=>
  int(0)
  [1]=>
  string(103) "capabilities: getencoding runcommand
encoding: UTF-8
pid: 73263e20cf21273d50f1f66cab6e0f7c74f4864e67f0f"
  [2]=>
  string(0) ""
}

Executed in 30647 us.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 16 2017, 1:18 PM
This revision was automatically updated to reflect the committed changes.