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)
Sat, Dec 21, 5:17 PM
Unknown Object (File)
Fri, Dec 20, 11:18 PM
Unknown Object (File)
Tue, Dec 3, 5:06 AM
Unknown Object (File)
Nov 17 2024, 4:13 PM
Unknown Object (File)
Nov 14 2024, 6:24 AM
Unknown Object (File)
Nov 7 2024, 7:53 PM
Unknown Object (File)
Oct 25 2024, 11:12 PM
Unknown Object (File)
Oct 23 2024, 11:52 AM
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.