Mercurial > hg-website
changeset 420:934061e0f672
note: link to FAQ instead of giving *nixy command.
author | drak@kaverne |
---|---|
date | Thu, 18 Sep 2014 12:53:35 +0200 |
parents | 19a6c35d52ff |
children | 4224eebf4d95 |
files | templates/guide/index.html |
diffstat | 1 files changed, 4 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/guide/index.html Thu Sep 18 11:52:53 2014 +0200 +++ b/templates/guide/index.html Thu Sep 18 12:53:35 2014 +0200 @@ -587,24 +587,11 @@ <div class="note"> -<p class="note-title">Note: Tracking empty folders</p> - -If you need empty folders which are available after clone, add -a <code>.keep</code> file in the folder and add that. +<p class="note-title">Note:</p> -<pre>$ mkdir emptyfolder -$ touch emptyfolder/.keep -$ hg add emptyfolder/.keep -$ hg commit -m "ensure that emptyfolder is available." emptyfolder/.keep - -</pre> - -To create <code>.keep</code> files for every empty folder, you can use -the following command: - -<pre>$ find . -type d -empty -exec touch {}/.keep \; - -</pre> +If you need empty folders which are available after clone, create a +file in the folders and add that. For details and useful tools, see +the <a href="http://mercurial.selenic.com/wiki/FAQ#FAQ.2FCommonProblems.I_tried_to_check_in_an_empty_directory_and_it_failed.21">empty directory FAQ entry</a>. </div>