large repository access
Kastner Masilko, Friedrich
kastner-masilko at at.festo.com
Mon Oct 14 13:44:59 UTC 2013
> From: Simon King [mailto:simon at simonking.org.uk]
>
> Not really answering your immediate question, but did you know that you
> can retrieve a file at a particular revision using "hg cat"?
>
> http://selenic.com/hg/help/cat
I understood that the machine - with the applications needing the files - has no repository on it. If it already has them on, there would be various ways to get a single file or directory indeed. With some tricks, you could then even edit the file and commit it.
Suppose you have a bare repository (which is equivalent of having working copy revision "null" checked out), you could do:
hg debugsetparents REV
hg debugrebuildstate
hg revert path/to/my/large/file.jpg
<Photoshop etc.>
hg ci -m "file.jpg edited"
This would get you only the file in the working copy with the possibility to commit changes only to this file upon REV. The downside is that you have to live with a constantly "dirty" working copy, because the system will always show the other files to be missing.
regards,
Fritz
Development Software Systems
Festo Gesellschaft m.b.H.
Linzer Strasse 227
Austria - 1140 Wien
Firmenbuch Wien
FN 38435y
UID: ATU14650108
Tel: +43(1)91075-198
Fax: +43(1)91075-282
www.festo.at
Der Inhalt dieser E-Mail und moeglicher Anhaenge sind ausschliesslich fuer den bezeichneten Adressaten bestimmt.
Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail und
moeglicher Anhaenge durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender der E-Mail in
Verbindung zu setzen, falls Sie nicht der Adressat dieser E-Mail sind sowie das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or
dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this
e-mail, please delete it and immediately notify the sender.
More information about the Mercurial
mailing list