Mercurial > hg
annotate rust/Cargo.toml @ 42214:9893d7aa7420
branchcache: store the maximum tip in a variable inside for loop
Instead of assigning self.tiprev multiple times in the for loop, and calling
cl.node() on it, let's store that in a temporary variable and assign it in the
end of loop.
Differential Revision: https://phab.mercurial-scm.org/D6311
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sat, 27 Apr 2019 02:13:43 +0300 |
parents | 5532823e8c18 |
children | 79ac59d3f73d |
rev | line source |
---|---|
35569
964212780daf
rust: implementation of `hg`
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
1 [workspace] |
40965
5532823e8c18
rust-cpython: start cpython crate bindings
Georges Racinet <gracinet@anybox.fr>
parents:
40964
diff
changeset
|
2 members = ["hg-core", "hg-direct-ffi", "hg-cpython"] |
40964
98a0fbda8739
rust-cpython: exclude hgcli from workspace
Georges Racinet <gracinet@anybox.fr>
parents:
40272
diff
changeset
|
3 exclude = ["chg", "hgcli"] |