Page MenuHomePhabricator

Fix a property name collision in ArcanistHgServerChannel
ClosedPublic

Authored by epriestley on Feb 16 2017, 1:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 4:13 PM
Unknown Object (File)
Thu, Nov 14, 6:24 AM
Unknown Object (File)
Thu, Nov 7, 7:53 PM
Unknown Object (File)
Oct 25 2024, 11:12 PM
Unknown Object (File)
Oct 23 2024, 11:52 AM
Unknown Object (File)
Oct 21 2024, 8:52 PM
Unknown Object (File)
Oct 9 2024, 7:18 AM
Unknown Object (File)
Sep 5 2024, 10:52 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.