Comments (4)
Please confirm that the target folder exist: /Users/silvia/WebstormProjects/miracle/src/LoggingServer/testLogs/
from node-svn-spawn.
The folder does exist. It has the log files which are created every day, but they are not under version control. So I need to first add all the files to svn and then commit the folder. I guess it would be something like the addLocal but only for the particular testLogs folder. Is that possible?
from node-svn-spawn.
Wildcard is not supported.
You can either specify all files you want to add:
var files = get_file_list(); // ['log/1.log', 'log/2.log', 'log/3.log']
client.add(files, function(err, data) {
// done
});
or just force add the parent folder:
client.add(['log/', '--force'], function(err, data) {
});
We have to use --force
option here so that we can repeatedly add the same folder.
from node-svn-spawn.
Thank you so much! The force option works like a charm :) . I had seen it already as a command line instruction but didn't know how to pass it as argument to the add function. Thanks a lot again for everything :)
from node-svn-spawn.
Related Issues (13)
- Unable to get the data from svn url HOT 6
- addlocal error HOT 4
- Does it support command like 'svn co ***url*** --quiet'? HOT 1
- what is the fucntion getlog callback Character encoding? HOT 3
- Not working on Debian 7.11 on a Beagle Bone Black
- Unable to connect to a repository at URL
- cannot ignore stdio
- how to get the revision number of a file? HOT 1
- Support multiple files HOT 5
- Doesn't work on Windows HOT 14
- Should throw error if `svn` CLI is not installed HOT 3
- duplicated results for svn ls HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-svn-spawn.