diff hgext/largefiles/__init__.py @ 18978:8abaadab9abb

largefiles: introduce pull --lfrev option The revset will be evaluated after the changesets has been pulled, and missing largefiles from matching revisions will be pulled to the local caches. This in combination with revsets will make it possible to specify different strategies for pulling largefiles. The revset expressions used for this option might be quite complex and will probably be most useful from scripts or an alias ... but less complicated than configuring hooks.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 15 Apr 2013 01:57:16 +0200
parents 6734951e2d24
children 1176832fc757
line wrap: on
line diff
--- a/hgext/largefiles/__init__.py	Mon Apr 15 01:54:43 2013 +0200
+++ b/hgext/largefiles/__init__.py	Mon Apr 15 01:57:16 2013 +0200
@@ -50,11 +50,13 @@
 largefiles).
 
 If you want to pull largefiles you don't need for update yet, then
-you can use the `lfpull` command.
+you can use pull with the `--lfrev` option or the :hg:`lfpull` command.
 
 If you just want to ensure that you will have the largefiles needed to
 merge or rebase with new heads that you are pulling, then you can pull
-with `--cache-largefiles` flag to pre-emptively download any largefiles
+with `--lfrev "head(0:)"` flag to pre-emptively download any largefiles
+that are in the heads after pulling. You can also pull with the
+`--cache-largefiles` flag to pre-emptively download any largefiles
 that are new in the heads you are pulling.
 
 Keep in mind that network access may now be required to update to