Skip to content

Converting a repo into a co-located repo #4945

Answered by tim-janik
nrbray asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, looks like you created the repo (op 881d7dbb8d90), jj took a snapshot of your files (op cc7b6bddfc06), later it took a snapshot of your modifications (op 9ae042b57ce5) and then you started the co-location procedure. In operation fecf27d8b423, a new commit was created based on the parent commit of your working copy. Which means your files got stored away in the commit created in op 9ae042b57ce5, a new commit was created without the files and checked out.

Here are a few options you now have:

# Take close look at all operations including the diff of your files:
jj op log -p -s
# Take a look at the last commit that included your files, write down the commit ID:
jj log -p -s -T builtin_log…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@nrbray
Comment options

@tim-janik
Comment options

Answer selected by nrbray
@nrbray
Comment options

Comment options

You must be logged in to vote
1 reply
@nrbray
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants