mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
542d1f93d3
Summary: This commit manually synchronizes the internal move of fbcode/scm/mononoke under fbcode/eden/mononoke which couldn't be performed by ShipIt automatically. Reviewed By: StanislavGlebik Differential Revision: D19722832 fbshipit-source-id: 52fbc8bc42a8940b39872dfb8b00ce9c0f6b0800
26 lines
727 B
Thrift
26 lines
727 B
Thrift
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This software may be used and distributed according to the terms of the
|
|
* GNU General Public License version 2.
|
|
*/
|
|
|
|
include "eden/mononoke/mononoke_types/if/mononoke_types_thrift.thrift"
|
|
|
|
# Memcache constants. Should be change when we want to invalidate memcache
|
|
# entries
|
|
const i32 MC_CODEVER = 0
|
|
const i32 MC_SITEVER = 0
|
|
|
|
typedef i32 RepoId (rust.newtype)
|
|
|
|
// Thrift does not support unsigned, so using i64 here
|
|
typedef i64 GenerationNum (rust.newtype)
|
|
|
|
struct ChangesetEntry {
|
|
1: required RepoId repo_id,
|
|
2: required mononoke_types_thrift.ChangesetId cs_id,
|
|
3: required list<mononoke_types_thrift.ChangesetId> parents,
|
|
4: required GenerationNum gen,
|
|
}
|