##// END OF EJS Templates
rust: replace most "operation" structs with functions...
rust: replace most "operation" structs with functions The hg-core crate has a partially-formed concept of "operation", represented as structs with constructors and a `run` method. Each struct’s contructor takes different parameters, and each `run` has a different return type. Constructors typically don’t do much more than store parameters for `run` to access them. There was a comment about adding an `Operation` trait when the language supports expressing something so general, but it’s hard to imagine how operations with such different APIs could be used in a generic context. This commit starts removing the concept of "operation", since those are pretty much just functions. Differential Revision: https://phab.mercurial-scm.org/D9595

File last commit:

r16489:cf137319 stable
r46751:dca9cb99 default
Show More
proto
24 lines | 478 B | text/plain | ProtoBufLexer
Steven Stallion
plan9: initial support for plan 9 from bell labs...
r16383 lib - sys sys
mercurial - sys sys
hgrc.d - sys sys
9diff.rc - sys sys
factotum.rc - sys sys
rc - sys sys
bin - sys sys
9diff - sys sys
hg - sys sys
sys - sys sys
lib - sys sys
python - sys sys
lib - sys sys
python2.5 - sys sys
site-packages - sys sys
hgext - sys sys
+ - sys sys
mercurial - sys sys
+ - sys sys
Steven Stallion
plan9: finalize documentation for next release
r16442 mercurial-VERSION-py2.5.egg-info - sys sys
src - sys sys
cmd - sys sys
Steven Stallion
plan9: add missing source entries to proto
r16489 hg - sys sys
+ - sys sys