monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: broken UI for mtn commit


From: Lapo Luchini
Subject: [Monotone-devel] Re: broken UI for mtn commit
Date: Wed, 01 Aug 2007 19:38:21 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.4.0

Koen Kooi wrote:
> address@hidden:~/packages/raw-tools$ mtn commit exiv2_0.15.bb
> mtn: warning: restriction excludes addition of 'packages/raw-tools' but 
> includes addition
> of 'packages/raw-tools/exiv2_0.15.bb'
> 
> Can someone *please* explain why this still hasn't been fixed the past 6 
> releases or so?

UH?

Works for me...

% mkdir -p d3/d2/d1
% touch d3/d2/d1/f1
% touch d3/d2/d1/f2
% cd d3/d2/d1
% LANG=C mtn add f1
mtn: adding d3 to workspace manifest
mtn: adding d3/d2 to workspace manifest
mtn: adding d3/d2/d1 to workspace manifest
mtn: adding d3/d2/d1/f1 to workspace manifest
% LANG=C mtn st
Current branch: it.lapo.homedir.cyberone
Changes against parent 7d97012d972f7474741937e0ee0390a4cd44f3a5
  added    d3
  added    d3/d2
  added    d3/d2/d1
  added    d3/d2/d1/f1
% LANG=C mtn ci --depth 0 ../.. .. . f1
MTN: ------------------------------------------------------------------
MTN: Enter a description of this change.
MTN: Lines beginning with `MTN:' are removed automatically.
MTN:
MTN: format_version "1"
MTN:
MTN: new_manifest [8e6885b74794f8347c1d09d3bb430c5a289cf17d]
MTN:
MTN: old_revision [7d97012d972f7474741937e0ee0390a4cd44f3a5]
MTN:
MTN: add_dir "d3"
MTN:
MTN: add_dir "d3/d2"
MTN:
MTN: add_dir "d3/d2/d1"
MTN:
MTN: add_file "d3/d2/d1/f1"
MTN:  content [da39a3ee5e6b4b0d3255bfef95601890afd80709]
MTN: ------------------------------------------------------------------
% LANG=C mtn --version
monotone 0.34 (base revision: unknown)

Either this is what you were looking for (adding d3/d2/d1/f1 but NOT the
file f2) or I didn't understand your use case...

BTW: yes, this is not the latest release (that's what I have on Cygwin
at the moment), but you were talking of "the last 6 releases", not "the
last ONE", so I guess that's not the issue.





reply via email to

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