svn: Too many arguments to import command Announcing the arrival of Valued Associate #679:...
How to ternary Plot3D a function
Why is std::move not [[nodiscard]] in C++20?
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
GDP with Intermediate Production
Differences to CCompactSize and CVarInt
How does the math work when buying airline miles?
I can't produce songs
Printing attributes of selection in ArcPy?
Is multiple magic items in one inherently imbalanced?
Moving a wrapfig vertically to encroach partially on a subsection title
Can two person see the same photon?
Putting class ranking in CV, but against dept guidelines
What is the "studentd" process?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Flight departed from the gate 5 min before scheduled departure time. Refund options
License to disallow distribution in closed source software, but allow exceptions made by owner?
Is openssl rand command cryptographically secure?
NERDTreeMenu Remapping
RSA find public exponent
Is it dangerous to install hacking tools on my private linux machine?
A proverb that is used to imply that you have unexpectedly faced a big problem
What are the main differences between Stargate SG-1 cuts?
Was Kant an Intuitionist about mathematical objects?
Asymptotics question
svn: Too many arguments to import command
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!SVN client too old after I used sshfsimport svn history`svn checkout` on the SVN server causes the repo to break with a 301 errorSVN - Migrate to new serverSVN txn-current-lock: Permission DeniedSubversion commits not appearing in repoApache alias works in browser, but does not work while trying to access via svn clientTortoise SVN: Initial connect timeoutSvn Commit failed. HTTP status 413 'Request Entity Too Largesvn diff returns E175009 after ~25 minutes
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Having a problem with the --message flag to the svn import command. On some servers it works, but on others it gets confused if the message contains spaces, even if you single or double quote the message string thus:
svn import -m 'New stuff added' https://my-remote-repo/SVN/repo/path
When it fails, I get the error:
svn: Too many arguments to import command
If I limit the message to one without any spaces, it succeeds everytime. Clearly the problem is with the command failing to recognise a quoted string, but why?
Differences between whether it succeeds or not seems to be down to the particular OS/Shell combination I'm using. The command works on SUSE 10.3 with Ksh Version M 93s+ 2008-01-31, but fails on RHEL 5.6 with Ksh Version AJM 93t+ 2010-02-02. Or perhaps that's a red herring, and the real problem is something else differing between environments?
svn rhel5 sles10 ksh
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Having a problem with the --message flag to the svn import command. On some servers it works, but on others it gets confused if the message contains spaces, even if you single or double quote the message string thus:
svn import -m 'New stuff added' https://my-remote-repo/SVN/repo/path
When it fails, I get the error:
svn: Too many arguments to import command
If I limit the message to one without any spaces, it succeeds everytime. Clearly the problem is with the command failing to recognise a quoted string, but why?
Differences between whether it succeeds or not seems to be down to the particular OS/Shell combination I'm using. The command works on SUSE 10.3 with Ksh Version M 93s+ 2008-01-31, but fails on RHEL 5.6 with Ksh Version AJM 93t+ 2010-02-02. Or perhaps that's a red herring, and the real problem is something else differing between environments?
svn rhel5 sles10 ksh
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Did you try writing -m option at the end of the command?
– Khaled
Jan 24 '12 at 11:34
Yes, unfortunately makes no difference.
– RCross
Jan 24 '12 at 11:38
2
tried replacing ' with " ?
– Ivan
Jan 24 '12 at 14:09
1
Trytype -a svn
and compare the results. I would suspect a badly written alias, function or script which accepts the argument then passes it along without quoting it.
– Dennis Williamson
Jan 26 '12 at 17:01
Compare the output ofulimit -s
on both systems / shells. Your stack size will affect the arg limit of a command line. I can't speak to svn specifics without more debug info.
– Aaron
Jan 20 '17 at 23:39
add a comment |
Having a problem with the --message flag to the svn import command. On some servers it works, but on others it gets confused if the message contains spaces, even if you single or double quote the message string thus:
svn import -m 'New stuff added' https://my-remote-repo/SVN/repo/path
When it fails, I get the error:
svn: Too many arguments to import command
If I limit the message to one without any spaces, it succeeds everytime. Clearly the problem is with the command failing to recognise a quoted string, but why?
Differences between whether it succeeds or not seems to be down to the particular OS/Shell combination I'm using. The command works on SUSE 10.3 with Ksh Version M 93s+ 2008-01-31, but fails on RHEL 5.6 with Ksh Version AJM 93t+ 2010-02-02. Or perhaps that's a red herring, and the real problem is something else differing between environments?
svn rhel5 sles10 ksh
Having a problem with the --message flag to the svn import command. On some servers it works, but on others it gets confused if the message contains spaces, even if you single or double quote the message string thus:
svn import -m 'New stuff added' https://my-remote-repo/SVN/repo/path
When it fails, I get the error:
svn: Too many arguments to import command
If I limit the message to one without any spaces, it succeeds everytime. Clearly the problem is with the command failing to recognise a quoted string, but why?
Differences between whether it succeeds or not seems to be down to the particular OS/Shell combination I'm using. The command works on SUSE 10.3 with Ksh Version M 93s+ 2008-01-31, but fails on RHEL 5.6 with Ksh Version AJM 93t+ 2010-02-02. Or perhaps that's a red herring, and the real problem is something else differing between environments?
svn rhel5 sles10 ksh
svn rhel5 sles10 ksh
asked Jan 24 '12 at 11:28
RCrossRCross
316417
316417
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Did you try writing -m option at the end of the command?
– Khaled
Jan 24 '12 at 11:34
Yes, unfortunately makes no difference.
– RCross
Jan 24 '12 at 11:38
2
tried replacing ' with " ?
– Ivan
Jan 24 '12 at 14:09
1
Trytype -a svn
and compare the results. I would suspect a badly written alias, function or script which accepts the argument then passes it along without quoting it.
– Dennis Williamson
Jan 26 '12 at 17:01
Compare the output ofulimit -s
on both systems / shells. Your stack size will affect the arg limit of a command line. I can't speak to svn specifics without more debug info.
– Aaron
Jan 20 '17 at 23:39
add a comment |
Did you try writing -m option at the end of the command?
– Khaled
Jan 24 '12 at 11:34
Yes, unfortunately makes no difference.
– RCross
Jan 24 '12 at 11:38
2
tried replacing ' with " ?
– Ivan
Jan 24 '12 at 14:09
1
Trytype -a svn
and compare the results. I would suspect a badly written alias, function or script which accepts the argument then passes it along without quoting it.
– Dennis Williamson
Jan 26 '12 at 17:01
Compare the output ofulimit -s
on both systems / shells. Your stack size will affect the arg limit of a command line. I can't speak to svn specifics without more debug info.
– Aaron
Jan 20 '17 at 23:39
Did you try writing -m option at the end of the command?
– Khaled
Jan 24 '12 at 11:34
Did you try writing -m option at the end of the command?
– Khaled
Jan 24 '12 at 11:34
Yes, unfortunately makes no difference.
– RCross
Jan 24 '12 at 11:38
Yes, unfortunately makes no difference.
– RCross
Jan 24 '12 at 11:38
2
2
tried replacing ' with " ?
– Ivan
Jan 24 '12 at 14:09
tried replacing ' with " ?
– Ivan
Jan 24 '12 at 14:09
1
1
Try
type -a svn
and compare the results. I would suspect a badly written alias, function or script which accepts the argument then passes it along without quoting it.– Dennis Williamson
Jan 26 '12 at 17:01
Try
type -a svn
and compare the results. I would suspect a badly written alias, function or script which accepts the argument then passes it along without quoting it.– Dennis Williamson
Jan 26 '12 at 17:01
Compare the output of
ulimit -s
on both systems / shells. Your stack size will affect the arg limit of a command line. I can't speak to svn specifics without more debug info.– Aaron
Jan 20 '17 at 23:39
Compare the output of
ulimit -s
on both systems / shells. Your stack size will affect the arg limit of a command line. I can't speak to svn specifics without more debug info.– Aaron
Jan 20 '17 at 23:39
add a comment |
2 Answers
2
active
oldest
votes
You can use this syntax in ksh: svn "import -m 'New stuff added' https://my-remote-repo/SVN/repo/path"
add a comment |
I just ran into this problem myself and stumbled upon this question. I didn't find the answer here, but played around with it a little and was able to get it to work.
I was writing my svn import with an asterisk like this:
svn import * svn://www.com... -m 'Initial Import'
When I changed the star to a dot, it worked as expected.
svn import . svn://www.com... -m 'Initial Import'
In your case, you do not seem to be specifying a dot or a star or anything. I'm willing to bet that's why it's getting tripped up.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f353048%2fsvn-too-many-arguments-to-import-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use this syntax in ksh: svn "import -m 'New stuff added' https://my-remote-repo/SVN/repo/path"
add a comment |
You can use this syntax in ksh: svn "import -m 'New stuff added' https://my-remote-repo/SVN/repo/path"
add a comment |
You can use this syntax in ksh: svn "import -m 'New stuff added' https://my-remote-repo/SVN/repo/path"
You can use this syntax in ksh: svn "import -m 'New stuff added' https://my-remote-repo/SVN/repo/path"
answered Jul 17 '13 at 4:07
Antonio FeitosaAntonio Feitosa
71755
71755
add a comment |
add a comment |
I just ran into this problem myself and stumbled upon this question. I didn't find the answer here, but played around with it a little and was able to get it to work.
I was writing my svn import with an asterisk like this:
svn import * svn://www.com... -m 'Initial Import'
When I changed the star to a dot, it worked as expected.
svn import . svn://www.com... -m 'Initial Import'
In your case, you do not seem to be specifying a dot or a star or anything. I'm willing to bet that's why it's getting tripped up.
add a comment |
I just ran into this problem myself and stumbled upon this question. I didn't find the answer here, but played around with it a little and was able to get it to work.
I was writing my svn import with an asterisk like this:
svn import * svn://www.com... -m 'Initial Import'
When I changed the star to a dot, it worked as expected.
svn import . svn://www.com... -m 'Initial Import'
In your case, you do not seem to be specifying a dot or a star or anything. I'm willing to bet that's why it's getting tripped up.
add a comment |
I just ran into this problem myself and stumbled upon this question. I didn't find the answer here, but played around with it a little and was able to get it to work.
I was writing my svn import with an asterisk like this:
svn import * svn://www.com... -m 'Initial Import'
When I changed the star to a dot, it worked as expected.
svn import . svn://www.com... -m 'Initial Import'
In your case, you do not seem to be specifying a dot or a star or anything. I'm willing to bet that's why it's getting tripped up.
I just ran into this problem myself and stumbled upon this question. I didn't find the answer here, but played around with it a little and was able to get it to work.
I was writing my svn import with an asterisk like this:
svn import * svn://www.com... -m 'Initial Import'
When I changed the star to a dot, it worked as expected.
svn import . svn://www.com... -m 'Initial Import'
In your case, you do not seem to be specifying a dot or a star or anything. I'm willing to bet that's why it's getting tripped up.
answered Nov 4 '15 at 15:44
QuixrickQuixrick
991
991
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f353048%2fsvn-too-many-arguments-to-import-command%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you try writing -m option at the end of the command?
– Khaled
Jan 24 '12 at 11:34
Yes, unfortunately makes no difference.
– RCross
Jan 24 '12 at 11:38
2
tried replacing ' with " ?
– Ivan
Jan 24 '12 at 14:09
1
Try
type -a svn
and compare the results. I would suspect a badly written alias, function or script which accepts the argument then passes it along without quoting it.– Dennis Williamson
Jan 26 '12 at 17:01
Compare the output of
ulimit -s
on both systems / shells. Your stack size will affect the arg limit of a command line. I can't speak to svn specifics without more debug info.– Aaron
Jan 20 '17 at 23:39