summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar skew <skew@web>2015-05-14 04:37:33 +0000
committerGravatar admin <admin@branchable.com>2015-05-14 04:37:33 +0000
commit0abe8a542743bfe7de272b2ed06d6433909cd756 (patch)
treef0fe934b1290e0e8cc7ff22ed980d03f4135dba3 /doc
parentec97d534e0974fcfb2a92cc1557bb4df5859d0c5 (diff)
Added a comment: transcript
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment110
1 files changed, 110 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment b/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment
new file mode 100644
index 000000000..f48429e6c
--- /dev/null
+++ b/doc/bugs/git-annex_unused_--from_s3_doesn__39__t/comment_2_b624d895c85f1595dcb0872c88fb4e30._comment
@@ -0,0 +1,110 @@
+[[!comment format=mdwn
+ username="skew"
+ subject="transcript"
+ date="2015-05-14T04:37:33Z"
+ content="""
+Hey Joey, after playing around a bit more, I noticed that the behavior was happening when I'm in a subdirectory, but not when I'm in the root of the repo. I also managed to reproduce the issue with a new repo (and a different type of remote):
+
+[[!format txt \"\"\"
+[john@laptop tmp]$ git init annextest3
+Initialized empty Git repository in /home/john/tmp/annextest3/.git/
+[john@laptop tmp]$ cd annextest3/
+[john@laptop annextest3]$ git annex init laptop
+init laptop ok
+(Recording state in git...)
+[john@laptop annextest3]$ git annex initremote rsyncnet type=rsync rsyncurl=user@server.rsync.net:/path/to/annextest3 encryption=none
+initremote rsyncnet ok
+(Recording state in git...)
+[john@laptop annextest3]$ mkdir docs
+[john@laptop annextest3]$ echo \"first version\" > docs/test.txt
+[john@laptop annextest3]$ git annex add docs/test.txt
+add docs/test.txt ok
+(Recording state in git...)
+[john@laptop annextest3]$ git annex sync --content
+commit ok
+copy docs/test.txt copy docs/test.txt (checking rsyncnet...) (to rsyncnet...)
+sending incremental file list
+./
+1a5/
+1a5/235/
+1a5/235/SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt/
+1a5/235/SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt/SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
+ 14 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/5)
+ok
+(Recording state in git...)
+[john@laptop annextest3]$ git annex whereis
+whereis docs/test.txt (2 copies)
+ 139b18e5-1fd0-4144-a551-4e997333b8ae -- [rsyncnet]
+ 7187a4c5-d9ae-471d-9b4b-843c37bfb3c3 -- laptop [here]
+ok
+[john@laptop annextest3]$ git annex unlock docs/test.txt
+unlock docs/test.txt (copying...) ok
+[john@laptop annextest3]$ echo \"second version\" > docs/test.txt
+[john@laptop annextest3]$ git annex add docs/test.txt
+add docs/test.txt ok
+(Recording state in git...)
+[john@laptop annextest3]$ git annex sync --content
+commit ok
+copy docs/test.txt copy docs/test.txt (checking rsyncnet...) (to rsyncnet...)
+sending incremental file list
+6ad/
+6ad/09f/
+6ad/09f/SHA256E-s15--66ed1142ab3b2f1cdb29e8b81c9471444a5d9e6fb657a54d089073ab8bd34e27.txt/
+6ad/09f/SHA256E-s15--66ed1142ab3b2f1cdb29e8b81c9471444a5d9e6fb657a54d089073ab8bd34e27.txt/SHA256E-s15--66ed1142ab3b2f1cdb29e8b81c9471444a5d9e6fb657a54d089073ab8bd34e27.txt
+ 15 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/5)
+ok
+(Recording state in git...)
+[john@laptop annextest3]$ git annex unused
+unused . (checking for unused data...) (checking master...)
+ Some annexed data is no longer used by any files:
+ NUMBER KEY
+ 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
+ (To see where data was previously used, try: git log --stat -S'KEY')
+
+ To remove unwanted data: git-annex dropunused NUMBER
+
+ok
+[john@laptop annextest3]$ git annex unused --from rsyncnet
+unused rsyncnet (checking for unused data...) (checking master...)
+ Some annexed data on rsyncnet is not used by any files:
+ NUMBER KEY
+ 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
+ (To see where data was previously used, try: git log --stat -S'KEY')
+
+ To remove unwanted data: git-annex dropunused --from rsyncnet NUMBER
+
+ok
+[john@laptop annextest3]$ cd docs/
+[john@laptop docs]$ git annex unused
+unused . (checking for unused data...) (checking master...)
+ Some annexed data is no longer used by any files:
+ NUMBER KEY
+ 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
+ (To see where data was previously used, try: git log --stat -S'KEY')
+
+ To remove unwanted data: git-annex dropunused NUMBER
+
+ok
+[john@laptop docs]$ git annex unused --from rsyncnet
+unused rsyncnet (checking for unused data...) ok
+[john@laptop docs]$ git annex whereis --unused
+[john@laptop docs]$ cd ..
+[john@laptop annextest3]$ git annex whereis --unused
+[john@laptop annextest3]$ git annex unused
+unused . (checking for unused data...) (checking master...)
+ Some annexed data is no longer used by any files:
+ NUMBER KEY
+ 1 SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt
+ (To see where data was previously used, try: git log --stat -S'KEY')
+
+ To remove unwanted data: git-annex dropunused NUMBER
+
+ok
+[john@laptop annextest3]$ git annex whereis --unused
+whereis SHA256E-s14--0533c80dc85756cf8cd5181e68d6520f5ffc4585def452d26f59756a5c2548b1.txt (2 copies)
+ 139b18e5-1fd0-4144-a551-4e997333b8ae -- [rsyncnet]
+ 7187a4c5-d9ae-471d-9b4b-843c37bfb3c3 -- laptop [here]
+ok
+[john@laptop annextest3]$
+\"\"\"]]
+"""]]