FIX: update functions are lost during cloning of a design doc #139

Merged
merged 1 commit into from Feb 17, 2014

Conversation

Projects
None yet
2 participants

ananich commented Feb 12, 2014

To reproduce the issue we need only a design doc with one or several update functions. When we run the following command on such a ddoc, the update functions are lost.

couchapp clone http://127.0.0.1:5984/testdb/_design/helloworld helloworld

Due to official docs 'updates' but not 'update' should be used as a directory name:
http://wiki.apache.org/couchdb/Document_Update_Handlers

@BigBlueHat BigBlueHat added a commit that referenced this pull request Feb 17, 2014

@BigBlueHat BigBlueHat Merge pull request #139 from inpun/master
FIX: update functions are lost during cloning of a design doc

LGTM! Thanks @ananich
5f74953

@BigBlueHat BigBlueHat merged commit 5f74953 into couchapp:master Feb 17, 2014

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment