Mercurial > hg-git
changeset 1082:b6cdf7be4059
doc: explain gclear more clearly (and warningly)
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sat, 25 Nov 2017 12:09:34 -0600 |
parents | 42df62660ac8 |
children | 6a0626959edb |
files | hggit/__init__.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/__init__.py Sat Nov 25 12:09:03 2017 -0600 +++ b/hggit/__init__.py Sat Nov 25 12:09:34 2017 -0600 @@ -249,7 +249,13 @@ @command('gclear') def gclear(ui, repo): - '''clear out the Git cached data''' + '''clear out the Git cached data + + Strips all Git-related metadata from the repo, including the mapping + between Git and Mercurial changesets. This is an irreversible + destructive operation that may prevent further interaction with + other clones. + ''' repo.ui.status(_("clearing out the git cache data\n")) repo.githandler.clear()