Bug 3227 - Manually removing a large file breaks addremove
Summary: Manually removing a large file breaks addremove
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Na'Tosha Bard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 01:23 UTC by mindajar
Modified: 2012-09-30 16:19 UTC (History)
5 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mindajar 2012-01-30 01:23 UTC
$ hg init .
$ dd if=/dev/zero of=bigfile bs=1k count=10
10+0 records in
10+0 records out
10240 bytes transferred in 0.000080 secs (127826408 bytes/sec)
$ hg add --large bigfile
$ hg commit -m 'initial revision'
$ rm bigfile 
$ hg st
! bigfile
$ hg addremove
removing bigfile
$ hg st
R bigfile
$ hg commit -m 'remove bigfile'
nothing changed
$ hg st
R bigfile
$ hg version
Mercurial Distributed SCM (version 2.1-rc+52-eb85d5f89fef)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$
Comment 1 Na'Tosha Bard 2012-03-13 07:31 UTC
Reproduced this locally with Mercurial 2.1.1

Assigning it to myself.
Comment 2 Bugzilla 2012-05-12 09:27 UTC
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:27 EDT  ---

This bug was previously known as _bug_ 3226 at http://mercurial.selenic.com/bts/issue3226

Bug Status was UNCONFIRMED but everconfirmed was true
   Setting status to CONFIRMED

Comment 3 Matt Mackall 2012-07-29 15:00 UTC
Fixed in stable by

dcfc70aab372 largefiles: fix addremove when largefile is missing
Comment 4 Matt Mackall 2012-09-30 16:19 UTC
Mass close old bugs in testing.