Hi Arpana,

If you want to update a review request you'll want to use either the -r or -u 
flags to rbt post. You cannot upload the same changelist/commit to multiple 
review requests.

Regards,
Barret
> On Aug 17, 2016, at 12:33 PM, Arpana J <arpa...@gmail.com> wrote:
> 
> When I do rbt post <changelist number>, it works fine first time. Running 
> this again on the same changelist number says:
> 
> Got API Error 204 (HTTP code 409): The commit ID specified has already been 
> used.
> 
> >>> Cached response for HTTP GET 
> >>> https://reviewboard.xm.citrite.net/reviews/api/review-requests/27006/?only-links=diffs%2Cdraft&only-fields=absolute_url%2Cbugs_closed%2Cid%2Cstatus
> >>>  expired and was not modified
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 9, in <module>
>     load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/main.py",
>  line 133, in main
>     command.run_from_argv([RB_MAIN, command_name] + args)
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/__init__.py",
>  line 555, in run_from_argv
>     exit_code = self.main(*args) or 0
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
>  line 745, in main
>     base_dir=base_dir)
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/commands/post.py",
>  line 412, in post_request
>     review_request = review_request.update(
>   File 
> "/Library/Python/2.7/site-packages/RBTools-0.7.2-py2.7.egg/rbtools/api/resource.py",
>  line 301, in __getattr__
>     raise AttributeError
> AttributeError
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <https://www.reviewboard.org/users/>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com 
> <mailto:reviewboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to