Skip to content

"pull" command fails late when uncomitted changes in workspace #43

@obbardc

Description

@obbardc

We should check whether any uncommitted changes are present in the workspace before running the git fetch command.

$ pdk pull components

http://pdk.64studio.net/channels/debian/testing//etc/schema
|============================================================|
http://pdk.64studio.net/channels/debian/testing//etc/cache/blob_list.gz
|============================================================|
pdk INFO: Building channel index...
pdk INFO: Finished building channel index.
From http://pdk.64studio.net/channels/debian/testing//etc/git
 * [new branch]      master     -> components
pdk ERROR: Invalid input: Cannot merge with uncommitted changes in the workspace.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions