summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-17 16:44:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-17 16:44:06 -0400
commita4dc920f6b2c31cbdd2c727f1ba7550216303991 (patch)
tree1be896cae36fc4adb5eaa698438d3866cd44b7ac
parenta020b0c25c4e7c2e14d685eac8c4d3aa0e1fef8a (diff)
remove some old todos
-rw-r--r--Commands.hs10
-rw-r--r--LocationLog.hs1
-rw-r--r--doc/git-annex.mdwn4
3 files changed, 0 insertions, 15 deletions
diff --git a/Commands.hs b/Commands.hs
index 05af0ab2d..48186928a 100644
--- a/Commands.hs
+++ b/Commands.hs
@@ -36,8 +36,6 @@ cmds = [
(Command "add" addCmd FilesNotInGit)
, (Command "get" getCmd FilesInGit)
, (Command "drop" dropCmd FilesInGit)
- , (Command "push" pushCmd RepoName)
- , (Command "pull" pullCmd RepoName)
, (Command "unannex" unannexCmd FilesInGit)
, (Command "describe" describeCmd SingleString)
, (Command "fix" fixCmd FilesInOrNotInGit)
@@ -216,14 +214,6 @@ fixCmd file = notinBackend file err $ \(key, backend) -> do
else return ()
err = error $ "not annexed " ++ file
-{- Pushes all files to a remote repository. -}
-pushCmd :: String -> Annex ()
-pushCmd reponame = do error "not implemented" -- TODO
-
-{- Pulls all files from a remote repository. -}
-pullCmd :: String -> Annex ()
-pullCmd reponame = do error "not implemented" -- TODO
-
{- Stores description for the repository. -}
describeCmd :: String -> Annex ()
describeCmd description = do
diff --git a/LocationLog.hs b/LocationLog.hs
index c0d6170b2..4a5fe449c 100644
--- a/LocationLog.hs
+++ b/LocationLog.hs
@@ -112,7 +112,6 @@ appendLog file line = do
createDirectoryIfMissing True (parentDir file)
withFileLocked file AppendMode $ \h ->
hPutStrLn h $ show line
- -- TODO git add log
{- Writes a set of lines to a log file -}
writeLog :: FilePath -> [LogLine] -> IO ()
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 4d2872aa3..66d9897d0 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -43,10 +43,6 @@ Enough broad picture, here's how it actually looks:
backend storage to the current repository.
* `git annex drop $file` indicates that you no longer want the file's
content to be available in this repository.
-* `git annex push $repository` pushes *all* annexed files to the specified
- repository.
-* `git annex pull $repository` pulls *all* annexed files from the specified
- repository.
* `git annex file $file` adjusts the symlink for the file to point to its
content again. Use this if you've moved the file around.
* `git annex unannex $file` undoes a `git annex add`. But use `git annex drop`