diff --git a/doc/bugs/__34__.git__47__HEAD__58___openFile__58___resource_busy__34___after_copy/comment_1_b05e0060d503a1d58c972796c5be151b._comment b/doc/bugs/__34__.git__47__HEAD__58___openFile__58___resource_busy__34___after_copy/comment_1_b05e0060d503a1d58c972796c5be151b._comment new file mode 100644 index 0000000000..cfd162c934 --- /dev/null +++ b/doc/bugs/__34__.git__47__HEAD__58___openFile__58___resource_busy__34___after_copy/comment_1_b05e0060d503a1d58c972796c5be151b._comment @@ -0,0 +1,87 @@ +[[!comment format=mdwn + username="jkniiv" + avatar="http://cdn.libravatar.org/avatar/05fd8b33af7183342153e8013aa3713d" + subject="happens during sync too" + date="2023-04-03T11:48:09Z" + content=""" +I get the same complaint/error while on a hidemissing-unlocked adjusted branch (as a Windows user) +and trying to sync with a regular remote (which happens to be an unlocked adjusted branch). +Manually bisecting I found out that the problem first occurs with [[!commit 038a2600f4cf71294976280c5c29f6710359375f]] +(so \"00f\" indeed) which seems to confirm that the fixes made for the linked bug seem to be +the culprit. + +Here's a simple PowerShell transcript of me committing a disk image backup file to an annex +and then proceeding to `sync` with a remote + trying different versions of git-annex with the one +built from [[!commit cb4d9f7b1f8ce251d86f8f0163c0884cb9454603]] finally working, ie. doing a full +pull and push cycle (here `git annex-sync` is simply an alias for `git annex sync --no-commit`): + +[[!format sh \"\"\" +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked) +1 ~0 -0 !]> git annex version --raw +10.20230329-g000723d96 +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked) +1 ~0 -0 !]> time git annex add +add D2DB92DE496EC33F-06-06.mrimg +ok +(recording state in git...) +00:05:42.5080264 +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked) +1 ~0 -0 ~]> git status +Refresh index: 100% (33/33), done. +On branch adjusted/master(hidemissing-unlocked) +Changes to be committed: + (use \"git restore --staged ...\" to unstage) + new file: D2DB92DE496EC33F-06-06.mrimg + +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked) +1 ~0 -0 ~]> git annex-meta -t differentiaali -s varmistus=differentiaali D2DB92DE496EC33F-06-06.mrimg +metadata D2DB92DE496EC33F-06-06.mrimg + lastchanged=2023-04-03@09-31-18 + tag=differentiaali + tag-lastchanged=2023-04-03@09-31-18 + varmistus=differentiaali + varmistus-lastchanged=2023-04-03@09-31-18 +ok +(recording state in git...) +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked) +1 ~0 -0 ~]> git commit -m 'Lisätty: D2DB92DE496EC33F-06-06.mrimg; differentiaali' +[adjusted/master(hidemissing-unlocked) 6cc1044] Lisätty: D2DB92DE496EC33F-06-06.mrimg; differentiaali + 1 file changed, 1 insertion(+) + create mode 100644 Jarkon ThinkPad T450s (Win10 v21H1) . B/D2DB92DE496EC33F-06-06.mrimg +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex-sync +pull k-levyn-annex2 +From k:\Reflect-varmistukset + 3649f50..407d219 git-annex -> k-levyn-annex2/git-annex +ok +git-annex: .git\HEAD: openFile: resource busy (file is locked) +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex-sync +pull k-levyn-annex2 +ok +git-annex: .git\HEAD: openFile: resource busy (file is locked) +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex version --raw +10.20230329-g000723d96 +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex version --raw +10.20230322-g038a2600f +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex-sync +pull k-levyn-annex2 +ok +git-annex: .git\HEAD: openFile: resource busy (file is locked) +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex version --raw +10.20230322-gcb4d9f7b1 +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex-sync +pull k-levyn-annex2 +ok +push k-levyn-annex2 +Enumerating objects: 17, done. +Counting objects: 100% (17/17), done. +Delta compression using up to 4 threads +Compressing objects: 100% (12/12), done. +Writing objects: 100% (14/14), 1.27 KiB | 432.00 KiB/s, done. +Total 14 (delta 5), reused 0 (delta 0), pack-reused 0 +remote: Checking connectivity: 14, done. +To k:\Reflect-varmistukset + 3649f50..e420747 git-annex -> synced/git-annex + c74664e..6cab55f master -> synced/master +ok +H:\Reflect-varmistukset\Jarkon ThinkPad T450s (Win10 v21H1) . B [adjusted/master(hidemissing-unlocked)]> git annex version --raw +10.20230322-gcb4d9f7b1 +\"\"\"]] + + +"""]]