mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
addfb9f600
Summary: Production confidence team wants a simple tool to capture current state of the repo and get a commit hash in commitcloud ephemeralcommit achieves that by making a hidden commit and pushing it to commitcloud Main purpose of this is to use with ephemeral fbpkg, this produces relatively low volume of commits (comparing to total commit count). This currently does not add untracked files, but removes missing files Usage: ``` # note that when invoking from automatic tools need to specify -q $ hg debugephemeralcommit -q <hash of the commit> ``` Reviewed By: quark-zju Differential Revision: D27339320 fbshipit-source-id: 07a4ea8ff80b80ce620fb609096db97f46d383dc
23 lines
451 B
Perl
23 lines
451 B
Perl
#chg-compatible
|
|
|
|
$ configure modern
|
|
$ newserver server
|
|
$ clone server client
|
|
$ cd client
|
|
|
|
Test pushing of specific sets of commits
|
|
$ touch xxx
|
|
$ hg add xxx
|
|
$ hg debugephemeralcommit -q
|
|
15f9adf02fffc4fac0167c73bd193dd346752d08
|
|
$ hg show 15f9adf02fffc4fac0167c73bd193dd346752d08
|
|
commit: 15f9adf02fff
|
|
user: test
|
|
date: Thu Jan 01 00:00:00 1970 +0000
|
|
files: xxx
|
|
description:
|
|
Ephemeral commit
|
|
|
|
|
|
|