Removing git-annex Repo
Klaus Ethgen
Klaus+mlvcsh at Ethgen.de
Fri Dec 2 21:54:37 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hiho,
Am Fr den 2. Dez 2011 um 21:18 schrieb Joey Hess:
> Klaus Ethgen wrote:
> > is there a other way than "git checkout git-annex; sed -i -e
> > '/<hash>/d' **/*(.); git commit -a; git checkout master" to remove a
> > repository completely from annex knowledge?
>
> Well, that doesn't actually work;
I felt it.
> if you do that and then pull a independantly changed git-annex branch
> from a remote, the auto-union-merge will then add back all the lines
> you removed.
Not only that, also a "git annex fsck" will bring it back. But I wonder
where it gets the description and ID of the old remote.
> Marking the repository untrusted is the usual way.
I red about. But I want to wipe out the whole repository and don't want
to have inherited waste.
And yes, I can do the cleanup on all remotes too.
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQGcBAEBCgAGBQJO2TsMAAoJEKZ8CrGAGfasgcwL/2uwSDto2z2kOzfhrDq67812
2SsW3SM+3aFX2j7jCSCw2hm0Pk0Dx5J2vuOge8qu2fk9yStxVB/DpvwZZQLn73PW
Pha993XxHCbPxj+IvQA+pYbFZJ5Chq7GQdhrlfLQp1/Y+Y04FVvsVfLZzNoBghSC
HMSejI3vINaL1nyVkgJ0QDagUpNmcNeFsqoDJA/6wCne3EbypoItYZGXNJWWj6QH
RXe1ioMynUYo8B5lt3e6PN11w8tU1qqhOIeVODe8oqmgU21dEer/wkxRXlpkmPsJ
0PoJvDWYSVhBdER54+mzculeqTO/NHXjMAb8H9J0VNylnUWyf2s1S27r+Vu22RlA
IufcqGL5HuetkUgtZkXtIpk+zvLOF7yjxurX6unECFeJtZSYSRg+9b1SM5pFVJct
0glqEV9RK8iicCZmn3MmA+KUk1I6TI4wd6SjPbYHSBWlOT8fjjRa9+H/ouoJWBlI
6eKupbuzrAcDd5s8QE8hznAheuyRslz6+ofoX4D0dA==
=6Fqo
-----END PGP SIGNATURE-----
More information about the vcs-home
mailing list