Skip to content

mbed update has unexpected behaviour with caching enabled #440

@bremoran

Description

@bremoran

I have some config set:

$ mbed config -L
[mbed] Global config:
CACHE=/var/mbed
PROTOCOL=ssh

If I pick a project I have used before, that has had numerous commits since the last time I used it, and do mbed import, mbed correctly imports from the cache.

This means that when I do mbed update master, mbed does fetch the remotes correctly, but it doesn't update the local branches, so master is the master that was in use when the cache was populated.

If caching were turned off, this behaviour would be completely different, fetching the tip of master, from when I did the import.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions