"repo sync" deletes projects with work in them

15 views
Skip to first unread message

Robert Tsai (Verb Ext.)

unread,
Aug 10, 2017, 12:20:31 PM8/10/17
to Repo and Gerrit Discussion
Hi--

When a project is deleted from a manifest, the next "repo sync" deletes the local copy of that project.

What is slightly surprising is that if the local copy of that project has unpublished changes (local branch not yet uploaded, or even just locally-modified files), the project is *also* deleted.

Is this working as intended? Is there a way to require use of --force-sync to delete dirty projects, or would that not be desirable for other reasons?

--Rob
Reply all
Reply to author
Forward
0 new messages