monotone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-users] Distinguishing between deleted files and deleted di


From: Thomas Keller
Subject: Re: [Monotone-users] Distinguishing between deleted files and deleted directories.
Date: Thu, 30 Jun 2011 09:23:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b3pre Thunderbird/3.1.11

Am 30.06.2011 05:05, schrieb Derrick Moser:
> Hello.  I am trying to get a summary of the changes made to files in
> a given revision.  I can get most of the information I need by
> running the "mtn automate get_revision <revision>" command.  However,
> the output of that command does not distinguish between deleted files
> and deleted directories.  How can I determine which of the deleted
> items were files and which ones were directories?

The only way I know of is to look at the parent revision's manifest, i.e.

  $ mtn au get_manifest_of $(mtn au select p:<revision>)

Be careful that you pick the right revision in case its a merge revision
you're looking at (the above command would not work for this use case,
as select would return two, instead of just one row).

Thomas.

-- 
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]