rust/Cargo.toml
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 04 Feb 2019 20:46:33 -0800
changeset 41608 8785188d1915
parent 40978 5532823e8c18
child 44484 79ac59d3f73d
permissions -rw-r--r--
scmutil: introduce a new backuppath() to replace origpath() Unlike most functions in our codebase, origpath() takes a path that is relative to cwd. This commit introduces a replacement for origpath(). The new function takes a path that is relative to the repo root. There is a lot of duplication between the two, but I intend to remove origpath() within the next few commits, so it won't be a maintenance burden. origpath() is also a little weird in that it returns either a a cwd-relative path or an absolute path. It needs to be able to return a path outside the repo, so it makes sense that it can return an absolute path. However, it would be simpler to always return an absolute path. The new function does that. Differential Revision: https://phab.mercurial-scm.org/D5851
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35569
964212780daf rust: implementation of `hg`
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
     1
[workspace]
40978
5532823e8c18 rust-cpython: start cpython crate bindings
Georges Racinet <gracinet@anybox.fr>
parents: 40977
diff changeset
     2
members = ["hg-core", "hg-direct-ffi", "hg-cpython"]
40977
98a0fbda8739 rust-cpython: exclude hgcli from workspace
Georges Racinet <gracinet@anybox.fr>
parents: 40272
diff changeset
     3
exclude = ["chg", "hgcli"]