Joey Hess
81e045a539
tweak
2011-02-08 18:26:38 -04:00
Joey Hess
c1b69d1511
fill color for host boxes
2011-02-08 18:17:46 -04:00
Joey Hess
c0ec5a35db
show trusted repos in green
2011-02-08 18:04:19 -04:00
Joey Hess
3ae654254d
make remotes absolute while spidering
2011-02-08 17:52:32 -04:00
Joey Hess
97d5e23430
map bugfix
...
Need to find the absolute repo path before looking up the full info for the
repo. Otherwise, it doesn't find the right full info.
2011-02-08 17:46:52 -04:00
Joey Hess
ef2d4f650e
fix absrepo data loss
...
it was dropping the config map for the repos it changed
2011-02-04 01:56:45 -04:00
Joey Hess
926df3d91e
node ordering
2011-02-04 00:13:47 -04:00
Joey Hess
0fd0e414ec
color unreachable nodes
2011-02-04 00:06:23 -04:00
Joey Hess
67c1facad1
fix infinite loop
...
Local repos with the same path are not different. :)
2011-02-03 23:23:36 -04:00
Joey Hess
dff47d51e6
cleanup
2011-02-03 23:23:16 -04:00
Joey Hess
1b1a37b7b1
refactor
2011-02-03 22:44:17 -04:00
Joey Hess
17829be0fd
map improvements
...
added uuid.log repos
group repos by host
avoid displaying most urls
display remote names on edges
still some bugs
2011-02-03 22:20:55 -04:00
Joey Hess
0c7d17ae06
new map subcommand, basically working
...
Still todo:
- add repos from uuid.log that were not directly found
- group repos into their respective hosts
- display inaccessible repos and broken remote connections in red
- anonymize the url display somewhat, so the maps can be shared
- use uuid info to tell when two apparently different repos are actually
the same repo accessed in different ways
2011-02-03 19:05:15 -04:00
Joey Hess
0e7984a793
add check for unclean tree
2011-02-01 22:02:19 -04:00
Joey Hess
c77ac11acc
unannex: Commit staged changes at end
...
to avoid some confusing behavior with the pre-commit hook, which would see
some types of commits after an unannex as checking in of an unlocked file.
2011-02-01 21:27:23 -04:00
Joey Hess
755029ae0e
use forM_ in a few places
2011-01-31 23:27:53 -04:00
Joey Hess
d007e58a54
use mapM_
2011-01-31 13:52:11 -04:00
Joey Hess
96e561bc47
use Set instead of existence Map
...
more efficient and idiomatic
I did try using Set.difference, it's still slower than my method.
2011-01-30 01:41:15 -04:00
Joey Hess
c64b50a0ce
shutdown no longer a special case
2011-01-29 23:32:32 -04:00
Joey Hess
5584ccc8ad
factor out pure code
2011-01-29 23:30:08 -04:00
Joey Hess
e6da7eb177
Improved temp file handling
...
* Improved temp file handling. Transfers of content can now be resumed
from temp files later; the resume does not have to be the immediate
next git-annex run.
* unused: Include partially transferred content in the list.
2011-01-28 14:10:50 -04:00
Joey Hess
04fe906ac6
use safewritefile
2011-01-28 12:35:51 -04:00
Joey Hess
167523f09d
better directory handling
...
Rename Locations functions for better consitency, and make their values
more consistent too.
Used </> rather than manually building paths. There are still more places
that manually do so, but are tricky, due to the behavior of </> when
the second FilePath is absolute. So I only changed places where
it obviously was relative.
2011-01-27 17:00:32 -04:00
Joey Hess
dee9655237
bugfix to move --to
...
Due to recent changes, the remotes config was not read before the remote
to act on was picked.
2011-01-27 15:45:22 -04:00
Joey Hess
e1d213d6e3
make filename available to fsck messages
2011-01-26 20:37:46 -04:00
Joey Hess
b7903eb2d1
move partitioning out of keyPossibilities
...
And a bug fix in passing.
2011-01-26 16:44:14 -04:00
Joey Hess
7f6af79232
trust setting improvements
2011-01-26 16:20:28 -04:00
Joey Hess
7b2da21ab7
avoid moving if src and dest are the same
2011-01-26 15:59:10 -04:00
Joey Hess
268cb35e64
implement 3 level trust storage in trust.log
2011-01-26 15:37:16 -04:00
Joey Hess
6a97b10fcb
rework config storage
...
Moved away from a map of flags to storing config directly in the AnnexState
structure. Got rid of most accessor functions in Annex.
This allowed supporting multiple --exclude flags.
2011-01-26 00:17:38 -04:00
Joey Hess
109a719b03
parameterize Backend type
...
This allows the Backend type to not depend on the Annex type, and
so the Annex type can later be moved out of TypeInternals.
2011-01-25 21:02:34 -04:00
Joey Hess
e7b557ef5d
got rid of Core module
...
Most of it was to do with managing annexed Content, so put there
2011-01-16 16:05:05 -04:00
Joey Hess
59c9eda962
on second thought, unlock should fail if content is not present
2011-01-14 00:02:33 -04:00
Joey Hess
c1839fdccb
unlock: Fix behavior when file content is not present.
2011-01-13 23:46:02 -04:00
Joey Hess
23686cc63d
clarify default values when no path is specified
...
Much of the code to handle this was unnecessary, as git ls-files is used,
and defaults to returning all files of the desired type.
2011-01-13 23:36:58 -04:00
Joey Hess
bb4a45f9ce
avoid crashing if run before unused log is present
2011-01-12 01:57:49 -04:00
Joey Hess
ba6727f663
always write log, so it's empty if nothing is unused
2011-01-12 01:57:32 -04:00
Joey Hess
e18a4d566b
migrate: Fix support for --backend option.
2011-01-11 21:32:38 -04:00
Joey Hess
caa0b6c0c2
quiet git commit messages
2011-01-11 18:49:45 -04:00
Joey Hess
9de982eab7
copyright years
2011-01-08 16:09:17 -04:00
Joey Hess
a78b0555e1
New migrate subcommand can be used to switch files to using a different backend, safely and with no duplication of content.
2011-01-08 15:54:14 -04:00
Joey Hess
32b0e10390
unannex: Now skips files whose content is not present, rather than it being an error. This allows gradual conversion from one backend to another by running unannex followed by add in each repository.
2011-01-08 15:14:41 -04:00
Joey Hess
6cb1dff757
quiet git commits
2011-01-07 13:57:37 -04:00
Joey Hess
e43d4730c5
bugfix: Running copy --to
when both local and remote had the key dropped it from local.
2011-01-07 02:14:22 -04:00
Joey Hess
f1b747e6d9
bugfix: Running move --to
with a remote whose UUID was not yet known
...
* bugfix: Running `move --to` with a remote whose UUID was not yet known
could result in git-annex not recording on the local side where the
file was moved to. This could not result in data loss, or even a
significant problem, since the remote *did* record that it had the file.
* Also, add a general guard to detect attempts to record information
about repositories with missing UUIDs.
2011-01-04 17:45:27 -04:00
Joey Hess
a857e1f4ee
git-annex-shell: Avoid exposing any git repo config except for the annex.uuid when doing configlist.
2011-01-04 17:34:14 -04:00
Joey Hess
700aed13cf
git-annex-shell now exclusively used for all remote access
2010-12-31 19:09:17 -04:00
Joey Hess
30e0065ab9
tuple makes it clearer
2010-12-31 15:52:59 -04:00
Joey Hess
eac433a84a
use git-annex-shell configlist
2010-12-31 15:46:33 -04:00
Joey Hess
60df4e5728
git-annex-shell is complete
...
still not used
2010-12-31 13:39:43 -04:00