Makes 'copy' the default for the add_doc
configuration option.
This commit is contained in:
parent
668d30ffbf
commit
c2e52ec4c4
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
### Implemented enhancements
|
### Implemented enhancements
|
||||||
|
|
||||||
- Adds `move`, and `link` options for handling of documents during import (copy being the default). [(#159)](https://github.com/pubs/pubs/pull/159)
|
- Adds `move`, and `link` options for handling of documents during `import` (copy being the default). Makes `copy` the default for document handling during `add`. [(#159)](https://github.com/pubs/pubs/pull/159)
|
||||||
|
|
||||||
- Better dialog after editing paper [(#142)](https://github.com/pubs/pubs/issues/142)
|
- Better dialog after editing paper [(#142)](https://github.com/pubs/pubs/issues/142)
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ docsdir = string(default="docsdir://")
|
|||||||
|
|
||||||
# Specify if a document should be copied or moved in the docdir, or only
|
# Specify if a document should be copied or moved in the docdir, or only
|
||||||
# linked when adding a publication.
|
# linked when adding a publication.
|
||||||
doc_add = option('copy', 'move', 'link', default='move')
|
doc_add = option('copy', 'move', 'link', default='copy')
|
||||||
|
|
||||||
# the command to use when opening document files
|
# the command to use when opening document files
|
||||||
open_cmd = string(default=None)
|
open_cmd = string(default=None)
|
||||||
|
@ -668,7 +668,7 @@ class TestUsecase(DataCommandTestCase):
|
|||||||
def test_first(self):
|
def test_first(self):
|
||||||
correct = ['Initializing pubs in /paper_first\n',
|
correct = ['Initializing pubs in /paper_first\n',
|
||||||
'added to pubs:\n[Page99] Page, Lawrence et al. "The PageRank Citation Ranking: Bringing Order to the Web." (1999) \n'
|
'added to pubs:\n[Page99] Page, Lawrence et al. "The PageRank Citation Ranking: Bringing Order to the Web." (1999) \n'
|
||||||
'data/pagerank.pdf was moved to the pubs repository.\n',
|
'data/pagerank.pdf was copied to the pubs repository.\n',
|
||||||
'[Page99] Page, Lawrence et al. "The PageRank Citation Ranking: Bringing Order to the Web." (1999) \n',
|
'[Page99] Page, Lawrence et al. "The PageRank Citation Ranking: Bringing Order to the Web." (1999) \n',
|
||||||
'\n',
|
'\n',
|
||||||
'',
|
'',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user