[Bug 4899] New: shelve extensions always backs up entire repo
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Oct 12 14:14:47 UTC 2015
https://bz.mercurial-scm.org/show_bug.cgi?id=4899
Bug ID: 4899
Summary: shelve extensions always backs up entire repo
Product: Mercurial
Version: 3.5.1
Hardware: Macintosh
OS: Mac OS
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: shelve
Assignee: bugzilla at selenic.com
Reporter: hchapman-hg at 3gfp.com
CC: mercurial-devel at selenic.com
The shelve extension always backs up the entire repo into a bundle. This may be
ok for small repos, but on my daily work repo, it wants to create a 24GB bundle
file.
Test:
export HGRCPATH=""
alias hg_with_shelve="hg --config extensions.shelve= --config
ui.username=h at h.com"
hg_with_shelve init
for i in 1 2 3 4; do touch $i; hg_with_shelve ci -Am .; done
echo a change > 2
hg_with_shelve status
hg_with_shelve shelve
hg_with_shelve -R .hg/shelved/default.hg log -T '{rev}:{node|short}\n'
Test with output:
$ export HGRCPATH=""
$ alias hg_with_shelve="hg --config extensions.shelve= --config
ui.username=h at h.com"
$ hg_with_shelve init
$ for i in 1 2 3 4; do touch $i; hg_with_shelve ci -Am .; done
adding 1
adding 2
adding 3
adding 4
$ echo a change > 2
$ hg_with_shelve status
M 2
$ hg_with_shelve shelve
shelved as default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg_with_shelve -R .hg/shelved/default.hg log -T '{rev}:{node|short}\n'
4:e990adc2e779
3:f4d8f8448f8f
2:53acce9f4f02
1:0f90b982590b
0:4416ce542859
$
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list