Commit Graph

4 Commits

Author SHA1 Message Date
Matt Mackall
2e188aa5f4 Move branches.cache to branch.cache
Keeps old clients from conflicting with new caches, makes features
logic unnecessary.
2007-03-13 15:18:10 -05:00
Alexis S. L. Carvalho
fd69fe8d91 "default" is the default branch name 2007-03-13 15:02:33 -03:00
Thomas Arendsen Hein
71a353f733 Add a features list to branches.cache to detect caches of old hg versions.
The leading space in the written file makes sure that the feature list never
can match an existing version, even if the first feature can be read as hex.
Additionally old hg versions display the id with --debug, too.
2007-03-09 19:12:03 +01:00
Alexis S. L. Carvalho
aa3a52a4cd make mq play nicely with the branch cache
- if no patches are applied, don't do anything different

- if the cache includes valid data from one of the patch revisions,
  use the cache, but don't save anything new

- if the cache has data from before the patch revisions only,
  save what the list of branches would be without the patch revisions
2006-10-23 23:32:56 -03:00