`bzr commit file1` also commits deletion of file2
Adeodato Simó
dato at net.com.org.es
Mon Jun 5 14:39:47 BST 2006
Hello.
`bzr help commit` advertises that if selected files are specified, only
changes to those files are commited. However, it seems not to work
properly if an uncommited removal is present in the branch:
% bzr --version | head -n 1
bzr (bazaar-ng) 0.8.2
% bzr init test
% cd test
% echo hi >k
% echo bye >g
% b add k g
added k
added g
% b ci -m 'Added k and g.'
added g
added k
Committed revision 1.
% b remove k
% echo moo >>g
% b ci -m "Make g moo, don't commit k's removal yet." g
modified g
deleted k
Committed revision 2.
In the last step, I would not expect for "deleted k" to be commited.
Thanks,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
As scarce as truth is, the supply has always been in excess of the demand.
-- Josh Billings
More information about the bazaar
mailing list